Skip to content

Conversation

bjouhier
Copy link
Contributor

No description provided.

@bjouhier
Copy link
Contributor Author

Should fix #146.

Strange that this code worked before because callback args was only half filled. But maybe V8 was more lenient before.

BTW, what's the advantage of having special C++ bindings for this? It could be implemented on top of execute.

@kontrafiktion
Copy link

this has probably never worked, see #80

@mwolson
Copy link
Contributor

mwolson commented Feb 19, 2014

Confirmed that this patch fixes commit and rollback, +1 from me.

johannish added a commit that referenced this pull request Feb 25, 2014
fixed crash in commit/rollback
@johannish johannish merged commit aa46f36 into joeferner:master Feb 25, 2014
@johannish
Copy link
Collaborator

@bjouhier

BTW, what's the advantage of having special C++ bindings for this? It could be implemented on top of execute.

I'm a little unsure of what you mean, could you elaborate? Doesn't having a separate Commit() function in C++ allow me more control, since I could run multiple statements in different transactions on the same connection?

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

Successfully merging this pull request may close these issues.

4 participants