Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCH v1 0/3] Fix some bugs with DECIMAL
@ 2021-10-04 13:30 Mergen Imeev via Tarantool-patches
  2021-10-04 13:30 ` [Tarantool-patches] [PATCH v1 1/3] sql: fix truncation of DECIMAL in implicit cast Mergen Imeev via Tarantool-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-10-04 13:30 UTC (permalink / raw)
  To: v.shpilevoy; +Cc: tarantool-patches

This patch-set fixes three bugs with DECIMAL.

https://github.com/tarantool/tarantool/issues/6485
https://github.com/tarantool/tarantool/tree/imeevma/gh-6485-fix-bugs-with-decimal

Mergen Imeev (3):
  sql: fix truncation of DECIMAL in implicit cast
  sql: fix cast of small negative DECIMAL to INTEGER
  sql: do not truncate DECIMAL in LIMIT and OFFSET

 .../unreleased/gh-6485-bug-of-decimal.md      |  8 +++
 src/box/sql/mem.c                             | 16 +++---
 test/sql-tap/gh-6485-bugs-in-decimal.test.lua | 57 +++++++++++++++++++
 3 files changed, 74 insertions(+), 7 deletions(-)
 create mode 100644 changelogs/unreleased/gh-6485-bug-of-decimal.md
 create mode 100755 test/sql-tap/gh-6485-bugs-in-decimal.test.lua

-- 
2.25.1


^ permalink raw reply	[flat|nested] 8+ messages in thread
* [Tarantool-patches] [PATCH v1 0/3] Fix some bugs with DECIMAL
@ 2021-10-19  6:19 Mergen Imeev via Tarantool-patches
  2021-10-19  6:19 ` [Tarantool-patches] [PATCH v1 3/3] sql: do not truncate DECIMAL in LIMIT and OFFSET Mergen Imeev via Tarantool-patches
  0 siblings, 1 reply; 8+ messages in thread
From: Mergen Imeev via Tarantool-patches @ 2021-10-19  6:19 UTC (permalink / raw)
  To: kyukhin; +Cc: tarantool-patches

This patch-set fixes three bugs with DECIMAL in SQL.

https://github.com/tarantool/tarantool/issues/6485
https://github.com/tarantool/tarantool/tree/imeevma/gh-6485-fix-bugs-with-decimal

Mergen Imeev (3):
  sql: fix truncation of DECIMAL in implicit cast
  sql: fix cast of small negative DECIMAL to INTEGER
  sql: do not truncate DECIMAL in LIMIT and OFFSET

 .../unreleased/gh-6485-bug-of-decimal.md      |  8 +++
 src/box/sql/mem.c                             | 16 +++---
 test/sql-tap/engine.cfg                       |  1 +
 test/sql-tap/gh-6485-bugs-in-decimal.test.lua | 57 +++++++++++++++++++
 4 files changed, 75 insertions(+), 7 deletions(-)
 create mode 100644 changelogs/unreleased/gh-6485-bug-of-decimal.md
 create mode 100755 test/sql-tap/gh-6485-bugs-in-decimal.test.lua

-- 
2.25.1


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

end of thread, other threads:[~2021-10-19  6:21 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-04 13:30 [Tarantool-patches] [PATCH v1 0/3] Fix some bugs with DECIMAL Mergen Imeev via Tarantool-patches
2021-10-04 13:30 ` [Tarantool-patches] [PATCH v1 1/3] sql: fix truncation of DECIMAL in implicit cast Mergen Imeev via Tarantool-patches
2021-10-05 21:56   ` Vladislav Shpilevoy via Tarantool-patches
2021-10-06 10:50     ` Mergen Imeev via Tarantool-patches
2021-10-04 13:30 ` [Tarantool-patches] [PATCH v1 2/3] sql: fix cast of small negative DECIMAL to INTEGER Mergen Imeev via Tarantool-patches
2021-10-04 13:30 ` [Tarantool-patches] [PATCH v1 3/3] sql: do not truncate DECIMAL in LIMIT and OFFSET Mergen Imeev via Tarantool-patches
2021-10-11 21:58 ` [Tarantool-patches] [PATCH v1 0/3] Fix some bugs with DECIMAL Vladislav Shpilevoy via Tarantool-patches
2021-10-19  6:19 Mergen Imeev via Tarantool-patches
2021-10-19  6:19 ` [Tarantool-patches] [PATCH v1 3/3] sql: do not truncate DECIMAL in LIMIT and OFFSET 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