From: Mergen Imeev via Tarantool-patches <tarantool-patches@dev.tarantool.org>
To: v.shpilevoy@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: [Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf()
Date: Mon, 15 Nov 2021 19:06:43 +0300 [thread overview]
Message-ID: <cover.1636992280.git.imeevma@gmail.com> (raw)
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
next reply other threads:[~2021-11-15 16:06 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-15 16:06 Mergen Imeev via Tarantool-patches [this message]
2021-11-15 16:06 ` [Tarantool-patches] [PATCH v1 1/2] sql: omit quotes for UUID values in errors Mergen Imeev via Tarantool-patches
2021-11-15 16:06 ` [Tarantool-patches] [PATCH v1 2/2] sql: introduce mem_snprintf() Mergen Imeev via Tarantool-patches
2021-11-17 23:03 ` Vladislav Shpilevoy via Tarantool-patches
2021-11-19 12:02 ` Mergen Imeev via Tarantool-patches
2021-11-21 15:27 ` [Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf() Vladislav Shpilevoy via Tarantool-patches
2021-11-22 8:22 Mergen Imeev via Tarantool-patches
2021-11-24 8:54 ` Kirill Yukhin via Tarantool-patches
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1636992280.git.imeevma@gmail.com \
--to=tarantool-patches@dev.tarantool.org \
--cc=imeevma@tarantool.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf()' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox