Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Not able to use callback with sqlite3_update_hook #39
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 :
Can someone tell me what I am missing?