[PATCH v2 0/3] netbox: define formats for tuple from netbox
imeevma at tarantool.org
imeevma at tarantool.org
Fri Jun 21 18:25:48 MSK 2019
This patch defines field names for the tuples obtained through
the netbox.
https://github.com/tarantool/tarantool/issues/2978
https://github.com/tarantool/tarantool/tree/imeevma/gh-2978-formats-for-tuples-from-net-box
Changes in v2 compared to the original v1:
1) Added patch that moves format parsing function to internal.
2) Added destructor to returned cdata.
3) Removed unnecessary functions, that were added in v1.
Mergen Imeev (3):
netbox: store method_encoder args in request
lua: internal function to parse space format
netbox: define formats for tuple from netbox
src/box/lua/misc.cc | 120 ++++++++++++++++++++++++++
src/box/lua/misc.h | 3 +
src/box/lua/net_box.c | 17 ++--
src/box/lua/net_box.lua | 209 ++++++++++++++++++++++++++++++----------------
test/box/access.result | 15 +++-
test/box/access.test.lua | 9 +-
test/box/misc.result | 88 +++++++++++++++++++
test/box/misc.test.lua | 50 +++++++++++
test/box/net.box.result | 104 ++++++++++++++++++++++-
test/box/net.box.test.lua | 34 +++++++-
10 files changed, 562 insertions(+), 87 deletions(-)
--
2.7.4
More information about the Tarantool-patches
mailing list