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 8ACFD244A1 for ; Mon, 4 Mar 2019 10:30:18 -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 idIASgOJAowk for ; Mon, 4 Mar 2019 10:30:18 -0500 (EST) Received: from smtp52.i.mail.ru (smtp52.i.mail.ru [94.100.177.112]) (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 C5A3B224EA for ; Mon, 4 Mar 2019 10:30:17 -0500 (EST) Received: by smtp52.i.mail.ru with esmtpa (envelope-from ) id 1h0pXj-0007UV-BM for tarantool-patches@freelists.org; Mon, 04 Mar 2019 18:30:15 +0300 Date: Mon, 4 Mar 2019 18:30:15 +0300 From: Kirill Yukhin Subject: [tarantool-patches] Re: [PATCH] sql: LIKE/LENGTH process '\0' Message-ID: <20190304153015.qo24nodemz33tv6g@tarantool.org> References: <15e143f4-3ea7-c7d6-d8ac-8a0e20b76449@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <15e143f4-3ea7-c7d6-d8ac-8a0e20b76449@tarantool.org> 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 Hello, On 29 Jan 12:56, Ivan Koptelov wrote: > Fixes LIKE and LENGTH functions. '\0' now treated as > a usual symbol. Strings with '\0' are now processed > entirely. Consider examples: > > LENGTH(CHAR(65,00,65)) == 3 > LIKE(CHAR(65,00,65), CHAR(65,00,66)) == False > > Closes #3542 > --- > Branch: [1]https://github.com/tarantool/tarantool/tree/sudobobo/gh-3542-LIKE/LEN-null-term > Issue: [2]https://github.com/tarantool/tarantool/issues/3542 I've checked in final patch and clean-up by Nikita into 2.1 branch. -- Regards, Kirill Yukhin