orlandov/node-sqlite — Issue #39: Not able to use callback with sqlite3_update_hook
Author: ash123jad
Created: 2012-01-16 08:00:05+00:00
State: open

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