From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: imeevma@tarantool.org Subject: [PATCH v2 0/3] netbox: define formats for tuple from netbox Date: Wed, 19 Jun 2019 13:34:20 +0300 Message-Id: To: vdavydov.dev@gmail.com Cc: tarantool-patches@freelists.org List-ID: 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