[patches] [PATCH v2 0/5] tuple: allow to do not specify tail nullable index columns

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Sun Feb 18 23:59:34 MSK 2018


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

Vladislav Shpilevoy (5):
  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
  tuple: remove 'is_sequential_nullable_tuples' from key_compare
  tuple: allow to do not specify tail nullable index columns

 src/CMakeLists.txt           |   2 +-
 src/box/CMakeLists.txt       |   1 +
 src/box/alter.cc             |  81 ++++-
 src/box/index.h              |  14 +
 src/box/index_def.h          |  14 +
 src/box/key_def.cc           |  46 ++-
 src/box/key_def.h            | 138 ++++++++-
 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     | 274 ++++++++++-------
 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/vy_range.c           |   1 -
 src/box/vy_stmt.c            |  21 +-
 src/box/vy_stmt.h            |   3 +-
 test/engine/null.result      | 689 +++++++++++++++++++++++++++++++++++++++++++
 test/engine/null.test.lua    | 184 ++++++++++++
 27 files changed, 1834 insertions(+), 476 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