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

imeevma at tarantool.org imeevma at tarantool.org
Mon Nov 15 19:06:43 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                            |  9 ++-
 src/box/sql/mem.c                             | 75 ++++++++++---------
 src/box/sql/mem.h                             |  8 ++
 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, 108 insertions(+), 94 deletions(-)

-- 
2.25.1



More information about the Tarantool-patches mailing list