[tarantool-patches] [PATCH 0/2] SQL types fixes
Nikita Pettik
korablev at tarantool.org
Mon Mar 11 21:10:24 MSK 2019
Branch: https://github.com/tarantool/tarantool/tree/np/sql-types-fixes
No related issue
First patch fixes names send as column meta-information. After
BLOB type was substituted with SCALAR, it can be confusing saying
that column has type BLOB. Moreover, other string represantations
have been replaced with exact names of NoSQL types (i.e. STRING,
NUMER etc).
Second patch fixes wrong type calculation for returning value for
function: it takes place during name resolution, and its second
promotion during byte-code generation is redundant (and in some
cases is wrong).
Nikita Pettik (2):
sql: make type in column-meta be consistent with NoSQL names
sql: don't change type of function's retval after codegen
src/box/sql/expr.c | 11 ---
src/box/sql/select.c | 31 +-------
test/sql/errinj.result | 2 +-
test/sql/gh-2362-select-access-rights.result | 4 +-
test/sql/iproto.result | 109 ++++++++++++++++++---------
test/sql/iproto.test.lua | 15 ++++
6 files changed, 97 insertions(+), 75 deletions(-)
--
2.15.1
More information about the Tarantool-patches
mailing list