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 5A91B26262 for ; Tue, 3 Jul 2018 20:13:19 -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 TZExvVZNsCYg for ; Tue, 3 Jul 2018 20:13:19 -0400 (EDT) Received: from smtp35.i.mail.ru (smtp35.i.mail.ru [94.100.177.95]) (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 16F4324168 for ; Tue, 3 Jul 2018 20:13:19 -0400 (EDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: [tarantool-patches] Re: [PATCH v1 1/1] sql: show formated MsgPack BLOB on select From: "n.pettik" In-Reply-To: <489910bc-cb18-b014-d034-7004b9135b44@tarantool.org> Date: Wed, 4 Jul 2018 03:13:11 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <3778fd7451fde6e28b3b4c9fcf88fb310a8b50b6.1530534766.git.kshcherbatov@tarantool.org> <625D5EC7-6D4C-4D9A-9115-DB88773D5979@tarantool.org> <50e6e53a-ed40-f051-a236-2b528d8f9d2b@tarantool.org> <1ECACBA2-8B87-416B-9C9D-DF4A0FE4FA03@tarantool.org> <9fe4782c-0824-095a-508f-8721282aa24c@tarantool.org> <397d7f5b-3a1e-18e8-128e-cc006c3ae5cb@tarantool.org> <489910bc-cb18-b014-d034-7004b9135b44@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 Cc: Kirill Shcherbatov , Vladislav Shpilevoy > Tnx. Ok for me, excluding this: >=20 > +++ b/src/box/sql/vdbeapi.c > @@ -224,8 +224,7 @@ sqlite3_value_int64(sqlite3_value * pVal) > enum sql_subtype > sqlite3_value_subtype(sqlite3_value * pVal) > { > - Mem *pMem =3D (Mem *) pVal; > - return (pMem->flags & MEM_Subtype) !=3D 0 ? pMem->subtype : 0; > + return (pVal->flags & MEM_Subtype) !=3D 0 ? pVal->subtype : = SQL_SUBTYPE_NO; > } >=20 > on head "review review fixes" >=20 >> Nikita, please, look at my changes too, they are not minor. I am OK with these fixes (and Kirill=E2=80=99s one too). Thanks. *Nerd mode on* However, I don=E2=80=99t stick to the point that introducing separate = enum for one subtype seems to be really vital. *Nerd mode off*=