Tarantool development patches archive
 help / color / mirror / Atom feed
From: Nikita Pettik <korablev@tarantool.org>
To: tarantool-patches@freelists.org
Cc: v.shpilevoy@tarantool.org, Nikita Pettik <korablev@tarantool.org>
Subject: [tarantool-patches] [PATCH 0/3] Make LIKE accept only arguments of type TEXT
Date: Sat,  9 Mar 2019 19:59:59 +0300	[thread overview]
Message-ID: <cover.1552149462.git.korablev@tarantool.org> (raw)

First two patches simply remove unnecessary macro and code connected
with it. Third one - disallows arguments of LIKE be of different
from text-like types.

Branch: https://github.com/tarantool/tarantool/tree/np/gh-3954-disallow-blob-in-like
Issue: https://github.com/tarantool/tarantool/issues/3954

Nikita Pettik (3):
  sql: remove SQL_LIKE_DOESNT_MATCH_BLOBS
  sql: remove sql_like_count global counter
  sql: make LIKE accept only TEXT arguments

 src/box/sql/func.c            | 34 +++++++++-----------
 src/box/sql/sqlInt.h          |  2 --
 src/box/sql/vdbe.c            | 14 +--------
 src/box/sql/vdbeInt.h         |  6 ++++
 src/box/sql/where.c           |  8 -----
 src/box/sql/whereInt.h        |  4 ---
 src/box/sql/wherecode.c       | 73 -------------------------------------------
 test/sql-tap/tkt1537.test.lua |  4 +--
 test/sql/types.result         | 45 ++++++++++++++++++++++++++
 test/sql/types.test.lua       | 15 +++++++++
 10 files changed, 84 insertions(+), 121 deletions(-)

-- 
2.15.1

             reply	other threads:[~2019-03-09 17:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-09 16:59 Nikita Pettik [this message]
2019-03-09 17:00 ` [tarantool-patches] [PATCH 1/3] sql: remove SQL_LIKE_DOESNT_MATCH_BLOBS Nikita Pettik
2019-03-11  8:07   ` [tarantool-patches] " Konstantin Osipov
2019-03-11 12:12     ` n.pettik
2019-03-09 17:00 ` [tarantool-patches] [PATCH 2/3] sql: remove sql_like_count global counter Nikita Pettik
2019-03-09 17:00 ` [tarantool-patches] [PATCH 3/3] sql: make LIKE accept only TEXT arguments Nikita Pettik
2019-03-15 14:41 ` [tarantool-patches] Re: [PATCH 0/3] Make LIKE accept only arguments of type TEXT Vladislav Shpilevoy
2019-03-15 14:49 ` 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.1552149462.git.korablev@tarantool.org \
    --to=korablev@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=v.shpilevoy@tarantool.org \
    --subject='Re: [tarantool-patches] [PATCH 0/3] Make LIKE accept only arguments of type TEXT' \
    /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