[Tarantool-patches] [PATCH v1 0/3] Fix some bugs with DECIMAL

imeevma at tarantool.org imeevma at tarantool.org
Tue Oct 19 09:19:44 MSK 2021


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



More information about the Tarantool-patches mailing list