Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sql: fix autoincrement for constraints
- Compute next autoincrement value before running constraints checks and put it to mentioned registers instead of NULL, like it was before. - Implement new opcode OP_NextAutoincValue, which calls sequence_next from Tarantool and puts new value to necessary register. - Implement necessary tests. - Generate new opcodes set. Closes #2981
- Loading branch information
1 parent
6027e38
commit 8369be3
Showing
6 changed files
with
262 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.