From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Vladimir Davydov Subject: [PATCH 0/4] A few fixes/improvements for autoincrement indexes Date: Wed, 15 May 2019 13:33:45 +0300 Message-Id: To: tarantool-patches@freelists.org List-ID: See comments to individual patches for more details. https://github.com/tarantool/tarantool/issues/4009 https://github.com/tarantool/tarantool/issues/4210 https://github.com/tarantool/tarantool/issues/4214 https://github.com/tarantool/tarantool/commits/dv/sequence-fixes Vladimir Davydov (4): schema: use tuple field names in Lua schema: fix error while altering index with sequence schema: allow to set sequence for any index part, not just the first schema: explicitly forbid setting sequence for json path key part src/box/alter.cc | 33 +++++- src/box/bootstrap.snap | Bin 4374 -> 4379 bytes src/box/lua/schema.lua | 171 ++++++++++++++++++------------ src/box/lua/space.cc | 7 ++ src/box/lua/upgrade.lua | 35 ++++++- src/box/request.c | 2 +- src/box/schema_def.h | 1 + src/box/space.h | 5 + src/box/sql/build.c | 7 +- src/box/sql/insert.c | 2 +- test/box-py/bootstrap.result | 5 +- test/box/access_misc.result | 3 +- test/box/alter.result | 15 --- test/box/alter.test.lua | 6 -- test/box/sequence.result | 243 +++++++++++++++++++++++++++++++++++++++++-- test/box/sequence.test.lua | 83 +++++++++++++-- 16 files changed, 507 insertions(+), 111 deletions(-) -- 2.11.0