Skip to content
Snippets Groups Projects
Commit 48a75cba authored by Kirill Yukhin's avatar Kirill Yukhin Committed by Konstantin Osipov
Browse files

sql. Allow primary key at any place in table.

	* src/lib/sqlite/src/insert.c(sqlite3GenerateConstraintChecks): For primary key (and no rowid)
	put unchanged tuple into MakeRec.
	(sqlite3CompleteInsertion): Only do IdxInsert for primary key as it implies tuple add.
	* src/box/sql.c(tarantoolSqlite3MovetoUnpacked): Comment line which failed to compile.
	(tarantoolSqlite3MovetoUnpacked): Ditto.
	* test/box/sql-insert-unique.*: New test/output.
parent 3189d4f6
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