[Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf()

imeevma at tarantool.org imeevma at tarantool.org
Mon Nov 22 11:22:39 MSK 2021


This patch-set introduces function mem_snprintf() which can be used to get
string representation of a MEM.

https://github.com/tarantool/tarantool/issues/4145
https://github.com/tarantool/tarantool/tree/imeevma/gh-4145-follow-up

Mergen Imeev (2):
  sql: omit quotes for UUID values in errors
  sql: introduce mem_snprintf()

 src/box/sql/func.c                            |   6 +-
 src/box/sql/mem.c                             | 100 ++++++++++++------
 src/box/sql/mem.h                             |  15 +++
 src/box/sql/printf.c                          |  15 +--
 test/sql-tap/cast.test.lua                    |   4 +-
 test/sql-tap/decimal.test.lua                 |   6 +-
 .../gh-5364-define-bit-wise-rules.test.lua    |   8 +-
 ...-5756-implicit-cast-in-arithmetic.test.lua |  10 +-
 test/sql-tap/sql-errors.test.lua              |   7 +-
 test/sql-tap/uuid.test.lua                    |  58 +++++-----
 test/sql/types.result                         |   2 +-
 11 files changed, 134 insertions(+), 97 deletions(-)

-- 
2.25.1



More information about the Tarantool-patches mailing list