[patches] [server 0/2] Update tuple field name hash in old formats

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Jan 23 14:38:42 MSK 2018


Branch: gh-3011-names-for-old-formats

Vladislav Shpilevoy (2):
  tuple: move tuple field names hash to a separate shared struct
  alter: introduce ModifySpaceFormat alter operation

 src/box/CMakeLists.txt          |   1 +
 src/box/alter.cc                |  56 +++++++++++
 src/box/lua/tuple.c             |   7 +-
 src/box/memtx_space.c           |   5 +-
 src/box/space_def.c             |  12 ++-
 src/box/space_def.h             |   8 +-
 src/box/tuple.c                 |   5 +-
 src/box/tuple_dictionary.c      | 217 ++++++++++++++++++++++++++++++++++++++++
 src/box/tuple_dictionary.h      | 110 ++++++++++++++++++++
 src/box/tuple_format.c          | 193 +++++------------------------------
 src/box/tuple_format.h          |  31 +++---
 src/box/vinyl.c                 |   8 +-
 src/box/vy_index.c              |   5 +-
 test/box/alter.result           |  72 +++++++++++++
 test/box/alter.test.lua         |  24 +++++
 test/unit/vy_iterators_helper.c |   7 +-
 test/unit/vy_mem.c              |   3 +-
 test/unit/vy_point_lookup.c     |   4 +-
 18 files changed, 561 insertions(+), 207 deletions(-)
 create mode 100644 src/box/tuple_dictionary.c
 create mode 100644 src/box/tuple_dictionary.h

-- 
2.11.0 (Apple Git-81)




More information about the Tarantool-patches mailing list