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 56E23229AF for ; Thu, 25 Jul 2019 18:09:18 -0400 (EDT) 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 fdXCIw6dWZjE for ; Thu, 25 Jul 2019 18:09:18 -0400 (EDT) Received: from smtp16.mail.ru (smtp16.mail.ru [94.100.176.153]) (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 17C08227D1 for ; Thu, 25 Jul 2019 18:09:17 -0400 (EDT) Received: by smtp16.mail.ru with esmtpa (envelope-from ) id 1hqlvI-0004ys-85 for tarantool-patches@freelists.org; Fri, 26 Jul 2019 01:09:16 +0300 Subject: [tarantool-patches] Re: [PATCH 3/5] sql: use 'varbinary' as a name of type instead of 'blob' References: From: Vladislav Shpilevoy Message-ID: <8d445bae-53ae-5a62-f0c8-84a655789c3e@tarantool.org> Date: Fri, 26 Jul 2019 00:11:14 +0200 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit 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 On 24/07/2019 13:42, Nikita Pettik wrote: > We are going to introduce new column type 'VARBINARY', which allows to > store values with MP_BIN msgpack format. On the other hand, now it is also > possible to meet this type: all literals in form of x'...' are > supposed to be inserted into SCALAR column type exactly with MP_BIN > encoding. Prior to this moment type of such values (encoded as MP_BIN) > was called 'blob'. Thus, let's fix all visible to user messages using > 'varbinary' name of type instead of 'blob'. > --- > src/box/lua/lua_sql.c | 2 +- > src/box/sql/func.c | 4 ++-- > src/box/sql/vdbe.c | 4 ++-- > src/box/sql/vdbeapi.c | 4 ++-- > test/sql-tap/cast.test.lua | 4 ++-- > test/sql-tap/func.test.lua | 2 +- > test/sql-tap/lua_sql.test.lua | 4 ++-- > test/sql-tap/position.test.lua | 16 ++++++++-------- > test/sql/types.result | 24 ++++++++++++------------ > 9 files changed, 32 insertions(+), 32 deletions(-) More mentionings of blob in messages visible to user. func.c :540, :1185, :1254, :1753 vdbeapi.c:283, :382, :1061 vdbemem.c:996, :1022 vdbeaux.c:1192