Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] Compute derived collation for concatenation
@ 2019-01-16 13:13 Nikita Pettik
  2019-01-16 13:13 ` [tarantool-patches] [PATCH 1/2] sql: refactor sql_expr_coll and sql_binary_compare_coll_seq functions Nikita Pettik
                   ` (2 more replies)
  0 siblings, 3 replies; 15+ messages in thread
From: Nikita Pettik @ 2019-01-16 13:13 UTC (permalink / raw)
  To: tarantool-patches; +Cc: v.shpilevoy, Nikita Pettik

Branch: https://github.com/tarantool/tarantool/tree/np/gh-3937-concatenation-collation
Issue: https://github.com/tarantool/tarantool/issues/3937

According to ANSI concatenation operator should derive collation
from its operands. This small patch-set implements this procedure
according to rules described in SQL standard.

Nikita Pettik (2):
  sql: refactor sql_expr_coll and sql_binary_compare_coll_seq functions
  sql: compute resulting collation for concatenation

 src/box/sql/expr.c          | 125 +++++++++++++++++++++++++++++---------------
 src/box/sql/select.c        |  27 ++++++----
 src/box/sql/sqliteInt.h     |  14 +++--
 src/box/sql/where.c         |  56 ++++++++++----------
 src/box/sql/whereexpr.c     |  23 ++++----
 test/sql/collation.result   | 102 ++++++++++++++++++++++++++++++++++++
 test/sql/collation.test.lua |  46 ++++++++++++++++
 7 files changed, 296 insertions(+), 97 deletions(-)

-- 
2.15.1

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

end of thread, other threads:[~2019-02-25 11:29 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-16 13:13 [tarantool-patches] [PATCH 0/2] Compute derived collation for concatenation Nikita Pettik
2019-01-16 13:13 ` [tarantool-patches] [PATCH 1/2] sql: refactor sql_expr_coll and sql_binary_compare_coll_seq functions Nikita Pettik
2019-01-17 13:28   ` [tarantool-patches] " Konstantin Osipov
2019-01-24 18:28   ` Vladislav Shpilevoy
2019-02-14 23:26     ` n.pettik
2019-01-16 13:13 ` [tarantool-patches] [PATCH 2/2] sql: compute resulting collation for concatenation Nikita Pettik
2019-01-17 13:33   ` [tarantool-patches] " Konstantin Osipov
2019-01-17 19:19     ` n.pettik
2019-01-18  9:59     ` Kirill Yukhin
2019-01-24 18:29   ` Vladislav Shpilevoy
2019-02-14 23:26     ` n.pettik
2019-02-22 11:23       ` Vladislav Shpilevoy
2019-02-22 13:40         ` n.pettik
2019-02-22 13:51           ` Vladislav Shpilevoy
2019-02-25 11:29 ` [tarantool-patches] Re: [PATCH 0/2] Compute derived " Kirill Yukhin

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