From: Roman Khabibov <roman.habibov@tarantool.org>
To: tarantool-patches@freelists.org
Cc: korablev@tarantool.org
Subject: [tarantool-patches] [PATCH 0/2] Make LIKE predicate dependent on collation
Date: Sun, 14 Jul 2019 01:51:06 +0300 [thread overview]
Message-ID: <cover.1563057282.git.roman.habibov@tarantool.org> (raw)
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)
next reply other threads:[~2019-07-13 22:51 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-13 22:51 Roman Khabibov [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1563057282.git.roman.habibov@tarantool.org \
--to=roman.habibov@tarantool.org \
--cc=korablev@tarantool.org \
--cc=tarantool-patches@freelists.org \
--subject='Re: [tarantool-patches] [PATCH 0/2] Make LIKE predicate dependent on collation' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox