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 39CCA2DA4B for ; Mon, 19 Nov 2018 12:27:42 -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 7t1W8Mohv_Ws for ; Mon, 19 Nov 2018 12:27:42 -0500 (EST) Received: from smtpng3.m.smailru.net (smtpng3.m.smailru.net [94.100.177.149]) (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 76CA82D59D for ; Mon, 19 Nov 2018 12:27:41 -0500 (EST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: [tarantool-patches] Re: [PATCH 1/3] sql: EXPLAIN through net.box leads to SEGFAULT From: "n.pettik" In-Reply-To: Date: Mon, 19 Nov 2018 20:27:36 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: <9DCBE39C-92D1-4093-B8BE-82A3CD6BD9AF@tarantool.org> References: 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: Imeev Mergen , Vladislav Shpilevoy > EXPLAIN envokes SEGMENTATION FAULT when being executed through Typo: invokes. > net.box. It happens due to column type of the result of this > function being NULL. I=E2=80=99ve checked and not only EXPLAIN results, but also EXPLAIN = QUERY PLAN, several pragmas (for instance, pragma table_info()) etc. So, initially = problem was not only in EXPLAIN statement. Please exposed commit message and add tests on other cases. Also, why did you decide to avoid sending type at all, instead of = sending UNKNOWN for example?=