Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to use callback with sqlite3_update_hook #39

Open
ash123jad opened this issue Jan 16, 2012 · 0 comments
Open

Not able to use callback with sqlite3_update_hook #39

ash123jad opened this issue Jan 16, 2012 · 0 comments

Comments

@ash123jad
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant