[Tarantool-patches] [PATCH 0/4] introduce indices over UUID

Serge Petrenko sergepetrenko at tarantool.org
Sat Apr 4 02:02:48 MSK 2020


https://github.com/tarantool/tarantool/issues/4268
https://github.com/tarantool/tarantool/tree/sp/gh-4268-uuid-type

Serge Petrenko (4):
  decimal: fix comment typo
  uuid: expose additional from_string constructors
  box: add MsgPack encoding/decoding for UUID
  box: introduce indices by UUID

 extra/exports                        |   3 +
 src/box/field_def.c                  |  66 +++++++++++---
 src/box/field_def.h                  |  16 ++++
 src/box/key_def.h                    |   3 +-
 src/box/tuple_compare.cc             | 123 +++++++++++++++++++++++++++
 src/box/tuple_format.c               |   3 +-
 src/lib/core/CMakeLists.txt          |   1 +
 src/lib/core/mp_decimal.h            |   2 +-
 src/lib/core/mp_extension_types.h    |   2 +
 src/lib/core/mp_uuid.c               |  75 ++++++++++++++++
 src/lib/core/mp_uuid.h               |  90 ++++++++++++++++++++
 src/lib/core/mpstream.c              |  11 +++
 src/lib/core/mpstream.h              |   5 ++
 src/lib/msgpuck                      |   2 +-
 src/lib/uuid/tt_uuid.c               |   9 ++
 src/lib/uuid/tt_uuid.h               |  53 +++++++++---
 src/lua/msgpack.c                    |  27 ++++--
 src/lua/msgpackffi.lua               |  14 +++
 src/lua/utils.c                      |  21 ++++-
 src/lua/utils.h                      |   5 ++
 src/lua/uuid.lua                     |   9 --
 test/app-tap/lua/serializer_test.lua |   8 ++
 test/app-tap/msgpackffi.test.lua     |   3 +-
 test/app/msgpack.result              |  21 +++++
 test/app/msgpack.test.lua            |  13 +++
 test/app/uuid.result                 |   2 +-
 test/box/tuple.result                |  81 ++++++++++++++++++
 test/box/tuple.test.lua              |  25 ++++++
 test/engine/ddl.result               |  97 ++++++++++++++++++++-
 test/engine/ddl.test.lua             |  42 ++++++++-
 test/engine/gh-4268-uuid.result      |  58 +++++++++++++
 test/engine/gh-4268-uuid.test.lua    |  30 +++++++
 test/unit/uuid.c                     |  24 +++++-
 test/unit/uuid.result                |   8 +-
 third_party/lua-cjson/lua_cjson.c    |  27 ++++--
 third_party/lua-yaml/lyaml.cc        |  17 +++-
 36 files changed, 933 insertions(+), 63 deletions(-)
 create mode 100644 src/lib/core/mp_uuid.c
 create mode 100644 src/lib/core/mp_uuid.h
 create mode 100644 test/engine/gh-4268-uuid.result
 create mode 100644 test/engine/gh-4268-uuid.test.lua

-- 
2.21.1 (Apple Git-122.3)



More information about the Tarantool-patches mailing list