Skip to content
Snippets Groups Projects
Commit 2b5082ad authored by Kirill Yukhin's avatar Kirill Yukhin
Browse files

sql: Implement AUTOINCREMENT feature for int PKs

Implement support for AUTOINCREMENT feature for integer
primary keys of tables which lack rowid property.
All tables which live in Tarantool's universe are lack
rowid.
To implement it two new op-codes were introduced:
  - Fetch maximum integer value of given space/index/fieldno
  - Copy register content from top frame into current frame

Convert AUTOINCREMENT test coverage: sql-tap/autoinc.test

Closes #2263
parent fe90d9f3
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment