Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] Fix border case in float-int comparison in SQL
@ 2019-08-06 22:02 Nikita Pettik
  2019-08-06 22:02 ` [tarantool-patches] [PATCH 1/2] Move mp_compare_double_uint64() to trivia.h Nikita Pettik
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nikita Pettik @ 2019-08-06 22:02 UTC (permalink / raw)
  To: tarantool-patches; +Cc: v.shpilevoy, Nikita Pettik

Branch: https://github.com/tarantool/tarantool/tree/np/sql-fix-float-int-cmp

This patch makes SQL utilize the same routine to compare integers
with floating point values as in NoSQL.

Nikita Pettik (2):
  Move mp_compare_double_uint64() to trivia.h
  sql: use double_compare_uint64() for int<->float cmp

 src/box/sql/vdbeaux.c    | 74 ++++++++++----------------------------------
 src/box/tuple_compare.cc | 80 ++----------------------------------------------
 src/lib/core/util.c      | 63 ++++++++++++++++++++++++++++++++++++++
 src/trivia/util.h        | 14 +++++++++
 test/sql/types.result    |  2 +-
 5 files changed, 97 insertions(+), 136 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2019-08-22 12:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-08-06 22:02 [tarantool-patches] [PATCH 0/2] Fix border case in float-int comparison in SQL Nikita Pettik
2019-08-06 22:02 ` [tarantool-patches] [PATCH 1/2] Move mp_compare_double_uint64() to trivia.h Nikita Pettik
2019-08-08 21:37   ` [tarantool-patches] ***UNCHECKED*** " Vladislav Shpilevoy
2019-08-14 10:36     ` [tarantool-patches] " n.pettik
2019-08-14 20:43       ` Vladislav Shpilevoy
2019-08-08 21:37   ` [tarantool-patches] ***UNCHECKED*** " Vladislav Shpilevoy
2019-08-06 22:02 ` [tarantool-patches] [PATCH 2/2] sql: use double_compare_uint64() for int<->float cmp Nikita Pettik
2019-08-22 12:31 ` [tarantool-patches] Re: [PATCH 0/2] Fix border case in float-int comparison in SQL Kirill Yukhin

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