From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 5A0084696C3 for ; Tue, 28 Apr 2020 01:53:36 +0300 (MSK) References: <2d865e88da427dd63acdc0e456dd7d032eee5769.1586950754.git.imeevma@gmail.com> From: Vladislav Shpilevoy Message-ID: <087ee40d-4a74-c44a-a47e-db480cb46a96@tarantool.org> Date: Tue, 28 Apr 2020 00:53:34 +0200 MIME-Version: 1.0 In-Reply-To: <2d865e88da427dd63acdc0e456dd7d032eee5769.1586950754.git.imeevma@gmail.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Subject: Re: [Tarantool-patches] [PATCH v1 1/2] sql: fix comparison in IN with list of values List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: imeevma@tarantool.org, tsafin@tarantool.org, tarantool-patches@dev.tarantool.org > diff --git a/test/sql-tap/gh-4692-comparison-in-IN-operator.test.lua b/test/sql-tap/gh-4692-comparison-in-IN-operator.test.lua > new file mode 100755 > index 0000000..14ba7ad > --- /dev/null > +++ b/test/sql-tap/gh-4692-comparison-in-IN-operator.test.lua > @@ -0,0 +1,32 @@ > +#!/usr/bin/env tarantool > +test = require("sqltester") > +test:plan(2) > + > +-- > +-- If left value of IN and NOT IN operators is not a vector with > +-- length more that one, make sure that it cannot be compared to that -> than.