[patches] [PATCH 0/3] Allow absense of nullable key parts

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sat Feb 10 00:54:41 MSK 2018


Branch: gh-2988-allow-absense-of-index-cols
Issue: https://github.com/tarantool/tarantool/issues/2988

Vladislav Shpilevoy (3):
  tuple: move tuple_extract_key functions to a separate .cc file
  tuple: check key for sequential parts on compile time
  Allow to do not specify tail nullable index columns

 src/CMakeLists.txt           |   1 +
 src/box/CMakeLists.txt       |   1 +
 src/box/alter.cc             |  34 ++-
 src/box/index.cc             |   1 +
 src/box/key_def.cc           |  33 ++-
 src/box/key_def.h            |  13 +-
 src/box/memtx_space.c        |   1 +
 src/box/request.c            |   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     | 259 ++++++++++++------
 src/box/tuple_extract_key.cc | 343 ++++++++++++++++++++++++
 src/box/tuple_extract_key.h  | 108 ++++++++
 src/box/tuple_format.c       |  39 ++-
 src/box/tuple_format.h       |  25 +-
 src/box/tuple_hash.cc        |  36 ++-
 src/box/vinyl.c              |   2 +
 src/box/vy_run.c             |   2 +-
 src/box/vy_stmt.c            |  22 +-
 src/box/vy_stmt.h            |   2 +-
 test/engine/null.result      | 605 +++++++++++++++++++++++++++++++++++++++++++
 test/engine/null.test.lua    | 158 +++++++++++
 24 files changed, 1579 insertions(+), 369 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