-
-
Notifications
You must be signed in to change notification settings - Fork 213
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
Fixed various bugs in last_insert_id #2060
Conversation
… increment value through to the insert node and iterator so it can accurately update LAST_INSERT_ID in the session
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like it fixes the customer bug. Should we be worried about onDuplicateUpdateHandler
and replaceRowHandler
special cases? Some of the mysql examples also get a bit more complicated, with setting expressions and stuff.
Those two have the same buggy behavior as before, so the reporting of |
Fixes dolthub/dolt#6776
Also adds better test coverage for
LAST_INSERT_ID()
and theINSERT_ID
field in the ok response for updates.