Tarantool development patches archive
 help / color / mirror / Atom feed
* [tarantool-patches] [PATCH 0/2] Make LIKE predicate dependent on collation
@ 2019-07-13 22:51 Roman Khabibov
  2019-07-13 22:51 ` [tarantool-patches] [PATCH 1/2] sql: remove "PRAGMA case_sensitive_like" Roman Khabibov
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Roman Khabibov @ 2019-07-13 22:51 UTC (permalink / raw)
  To: tarantool-patches; +Cc: korablev

The first patch removes "PRAGMA case_sensitive_like". The second patch adds
collation comparison to the pattern match function and makes changes to
WHERE x LIKE 'aBc%' optimization.

Roman Khabibov (2):
  sql: remove "PRAGMA case_sensitive_like"
  sql: make LIKE predicate dependent on collation

 src/box/sql/func.c                            | 131 ++++++++----------
 src/box/sql/pragma.c                          |   7 -
 src/box/sql/pragma.h                          | 104 +++++++-------
 src/box/sql/sqlInt.h                          |   9 +-
 src/box/sql/whereexpr.c                       |  70 +++-------
 test/sql-tap/collation.test.lua               |  35 +++--
 ...gh-3251-string-pattern-comparison.test.lua |  90 +++++++++++-
 test/sql-tap/like3.test.lua                   |   4 +-
 test/sql-tap/pragma.test.lua                  |  19 +--
 test/sql-tap/whereG.test.lua                  |   8 +-
 test/sql/sql-debug.result                     |   1 -
 11 files changed, 246 insertions(+), 232 deletions(-)

-- 
Branch: https://github.com/tarantool/tarantool/tree/romanhabibov/gh-3589-like
Issue: https://github.com/tarantool/tarantool/issues/3589

2.20.1 (Apple Git-117)

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

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

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13 22:51 [tarantool-patches] [PATCH 0/2] Make LIKE predicate dependent on collation Roman Khabibov
2019-07-13 22:51 ` [tarantool-patches] [PATCH 1/2] sql: remove "PRAGMA case_sensitive_like" Roman Khabibov
2019-07-17 16:18   ` [tarantool-patches] " n.pettik
2019-07-24 21:02     ` Roman Khabibov
2019-07-13 22:51 ` [tarantool-patches] [PATCH 2/2] sql: make LIKE predicate dependent on collation Roman Khabibov
2019-07-17 16:19   ` [tarantool-patches] " n.pettik
2019-07-24 21:02     ` Roman Khabibov
2019-08-01 10:27       ` n.pettik
2019-08-01 12:26 ` [tarantool-patches] Re: [PATCH 0/2] Make " Kirill Yukhin

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