Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf()
@ 2021-11-15 16:06 Mergen Imeev via Tarantool-patches
  2021-11-15 16:06 ` [Tarantool-patches] [PATCH v1 1/2] sql: omit quotes for UUID values in errors Mergen Imeev via Tarantool-patches
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-11-15 16:06 UTC (permalink / raw)
  To: v.shpilevoy; +Cc: tarantool-patches

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


^ permalink raw reply	[flat|nested] 7+ messages in thread
* [Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf()
@ 2021-11-22  8:22 Mergen Imeev via Tarantool-patches
  2021-11-22  8:22 ` [Tarantool-patches] [PATCH v1 2/2] sql: introduce mem_snprintf() Mergen Imeev via Tarantool-patches
  0 siblings, 1 reply; 7+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-11-22  8:22 UTC (permalink / raw)
  To: kyukhin; +Cc: tarantool-patches

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-11-22  8:23 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-15 16:06 [Tarantool-patches] [PATCH v1 0/2] Introduce mem_snprintf() Mergen Imeev via Tarantool-patches
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-22  8:22 ` [Tarantool-patches] [PATCH v1 2/2] sql: introduce mem_snprintf() Mergen Imeev via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox