[patches] [PATCH 0/4] Allow to do not specify tail nullable index columns
Vladislav Shpilevoy
v.shpilevoy at tarantool.org
Tue Feb 13 18:28:34 MSK 2018
Branch: gh-2988-allow-absense-of-index-cols
Issue: https://github.com/tarantool/tarantool/issues/2988
Vladislav Shpilevoy (4):
tuple: move tuple_extract_key functions to a separate .cc file
Move tuple_compare wrappers to key_def.h/.cc
tuple: check key for sequential parts on compile time
Allow to do not specify tail nullable index columns
src/CMakeLists.txt | 2 +-
src/box/CMakeLists.txt | 1 +
src/box/alter.cc | 34 ++-
src/box/index.h | 14 +
src/box/key_def.cc | 49 +++-
src/box/key_def.h | 131 +++++++++-
src/box/memtx_hash.c | 1 -
src/box/memtx_space.c | 1 -
src/box/memtx_tree.c | 1 +
src/box/memtx_tree.h | 1 -
src/box/schema.cc | 8 +-
src/box/space.c | 1 -
src/box/tuple.c | 194 --------------
src/box/tuple.h | 59 -----
src/box/tuple_compare.cc | 275 +++++++++++++-------
src/box/tuple_compare.h | 82 ------
src/box/tuple_extract_key.cc | 344 ++++++++++++++++++++++++
src/box/tuple_extract_key.h | 50 ++++
src/box/tuple_format.c | 39 ++-
src/box/tuple_format.h | 25 +-
src/box/tuple_hash.cc | 36 ++-
src/box/vinyl.c | 1 +
src/box/vy_range.c | 1 -
src/box/vy_stmt.c | 21 +-
src/box/vy_stmt.h | 3 +-
test/engine/null.result | 605 +++++++++++++++++++++++++++++++++++++++++++
test/engine/null.test.lua | 158 +++++++++++
27 files changed, 1664 insertions(+), 473 deletions(-)
create mode 100644 src/box/tuple_extract_key.cc
create mode 100644 src/box/tuple_extract_key.h
--
2.14.3 (Apple Git-98)
More information about the Tarantool-patches
mailing list