Skip to content

Not able to use callback with sqlite3_update_hook #39

@ash123jad

Description

@ash123jad

I am using nodejs with node-sqlite (nodejs version is 0.6.6 and I an not sure how to get the version for node-sqlite that I am using.

The problem I am facing is that when I use the commented out code in (database.cc) to add a callback for update, my Node js application gets a segmentation fault. After attaching a debugger and adding a breakpoint in the UpdateHook function, I see that the segv happens on the first line of the function :

   HandleScope scope; 

Can someone tell me what I am missing?

ThanksQ

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions