From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp44.i.mail.ru (smtp44.i.mail.ru [94.100.177.104]) (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 2CBFA46970E for ; Sun, 29 Dec 2019 15:27:34 +0300 (MSK) Received: by smtp44.i.mail.ru with esmtpa (envelope-from ) id 1ilXfR-0002cR-I0 for tarantool-patches@dev.tarantool.org; Sun, 29 Dec 2019 15:27:33 +0300 From: Chris Sosnin Date: Sun, 29 Dec 2019 15:27:32 +0300 Message-Id: <20191229122732.68476-1-k.sosnin@tarantool.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [Tarantool-patches] [PATCH] sql: fix pragma collation_list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: tarantool-patches@dev.tarantool.org This short patch fixes the bug when user is unable to see the list of collations via sql. Closes #4713 --- src/box/sql/pragma.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/box/sql/pragma.c b/src/box/sql/pragma.c index 00ecde0a9..b8d761478 100644 --- a/src/box/sql/pragma.c +++ b/src/box/sql/pragma.c @@ -501,7 +501,7 @@ sqlPragma(Parse * pParse, Token * pId, /* First part of [schema.]id field */ case PragTyp_COLLATION_LIST:{ int i = 0; - struct space *space = space_by_name("_collation"); + struct space *space = space_by_name("_vcollation"); char key_buf[16]; /* 16 is enough to encode 0 len array */ char *key_end = key_buf; key_end = mp_encode_array(key_end, 0); -- 2.21.0 (Apple Git-122.2)