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 88D4B27BA7 for ; Thu, 21 Feb 2019 10:52:43 -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 ePMQonz0IWuM for ; Thu, 21 Feb 2019 10:52:43 -0500 (EST) Received: from smtp38.i.mail.ru (smtp38.i.mail.ru [94.100.177.98]) (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 3A73D27B8C for ; Thu, 21 Feb 2019 10:52:43 -0500 (EST) Date: Thu, 21 Feb 2019 18:52:41 +0300 From: Konstantin Osipov Subject: [tarantool-patches] Re: [PATCH v6 3/7] sql: Show currently set sql_default_engine Message-ID: <20190221155241.GC14247@chai> References: <54c77b2bf6b53bde791bf0738dd37a905b86f6ec.1550753723.git.imeevma@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <54c77b2bf6b53bde791bf0738dd37a905b86f6ec.1550753723.git.imeevma@gmail.com> 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: v.shpilevoy@tarantool.org * imeevma@tarantool.org [19/02/21 16:48]: > + sql_storage_engine_strs[current_session()-> > + sql_default_engine]; Please ditch sql_storage_engine_strs ina separate patch. Engine name can be retrieved by engine pointer or by enum engine id, you can use engine_find() to find engine by name. -- Konstantin Osipov, Moscow, Russia, +7 903 626 22 32 http://tarantool.io - www.twitter.com/kostja_osipov