From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 270FC28F2E for ; Sat, 9 Mar 2019 12:00:08 -0500 (EST) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bgjmJyJjH41h for ; Sat, 9 Mar 2019 12:00:08 -0500 (EST) Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id 5953F27ACA for ; Sat, 9 Mar 2019 12:00:07 -0500 (EST) From: Nikita Pettik Subject: [tarantool-patches] [PATCH 0/3] Make LIKE accept only arguments of type TEXT Date: Sat, 9 Mar 2019 19:59:59 +0300 Message-Id: Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-Help: List-Unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-Subscribe: List-Owner: List-post: List-Archive: To: tarantool-patches@freelists.org Cc: v.shpilevoy@tarantool.org, Nikita Pettik 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