From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp14.mail.ru (smtp14.mail.ru [94.100.181.95]) (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 C692040F3AE for ; Fri, 12 Jun 2020 00:03:12 +0300 (MSK) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) From: Roman Khabibov In-Reply-To: <20200610140038.cakjpgjlo4hlkbut@tarantool.org> Date: Fri, 12 Jun 2020 00:03:10 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <3B8C2D8B-C853-4C4D-85CB-9C3A79635226@tarantool.org> References: <20200610124701.13055-1-roman.habibov@tarantool.org> <20200610140038.cakjpgjlo4hlkbut@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] sql: display collation in metadata for scalar List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org Hi! Thanks for the review. @ChangeLog - Fix bug with the display of collation for scalar fields in result, when sql_full_metadata is enabled. >>=20 >> Closes #4755 >> --- >>=20 >> Branch: = https://github.com/tarantool/tarantool/tree/romanhabibov/gh-4755-scalar-co= llation >> Issue: https://github.com/tarantool/tarantool/issues/4755 >>=20 >> src/box/sql/select.c | 7 +-- >> .../gh-4755-scalar-collation-metadata.result | 52 = +++++++++++++++++++ >> ...gh-4755-scalar-collation-metadata.test.lua | 18 +++++++ >> 3 files changed, 74 insertions(+), 3 deletions(-) >> create mode 100644 test/sql/gh-4755-scalar-collation-metadata.result >> create mode 100755 = test/sql/gh-4755-scalar-collation-metadata.test.lua >>=20 >> diff --git a/test/sql/gh-4755-scalar-collation-metadata.result = b/test/sql/gh-4755-scalar-collation-metadata.result >> new file mode 100644 >> index 000000000..eef2d86ad >> --- /dev/null >> +++ b/test/sql/gh-4755-scalar-collation-metadata.result >> @@ -0,0 +1,52 @@ >> +-- test-run result file version 2 >> +env =3D require('test_run') >> + | --- >> + | ... >> +test_run =3D env.new() >> + | --- >> + | ... >> + >> +-- >> +-- gh-4755: Collation in metadata must be displayed as for string >> +-- filed as for scalar field. >=20 > Start with lowercase, please. Re-phrase it: "... for both string and = scalar field types =E2=80=A6=E2=80=9D +-- gh-4755: collation in metadata must be displayed for both +-- string and scalar field types. > -- > Regards, Kirill Yukhin commit 8e398297beb216e6267797a6b929513156f76f36 Author: Roman Khabibov Date: Fri Apr 17 10:04:44 2020 +0300 sql: display collation in metadata for scalar =20 Fix bug with the display of collation for scalar fields in