From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id C9DA46EC5D; Fri, 9 Apr 2021 19:52:52 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C9DA46EC5D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1617987172; bh=VI3Ppqc1jvKGXoPhvxuixObIWWZlc7BaCe5fVNNf4bE=; h=To:Cc:Date:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=ga0zo0xz09wBGbR+fEHHwYAt6fO5GZmLcKAXOzoPjRINA5QT3gJ+nAQWwmcEqJtnd gjJVA0cYmeyAn18KA1HK63Yu2qDamOfApfT7dGMDInxDqnMMxgXH38FqwkTvvaF8M+ BskvHtZ9AAd3acbFOmetldtgdNr5h6OM7Y21MD1I= Received: from smtpng2.m.smailru.net (smtpng2.m.smailru.net [94.100.179.3]) (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 5EADD6EC5F for ; Fri, 9 Apr 2021 19:51:33 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 5EADD6EC5F Received: by smtpng2.m.smailru.net with esmtpa (envelope-from ) id 1lUuM0-00060x-O0; Fri, 09 Apr 2021 19:51:33 +0300 To: v.shpilevoy@tarantool.org, tsafin@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Fri, 9 Apr 2021 19:51:32 +0300 Message-Id: <254b9ac44e8ce4df4387fb36ada9e1d6b76eb1fb.1617984948.git.imeevma@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD92FFCB8E6708E7480D608FE24BC85426BB1B55F651FED8C70182A05F538085040ACE86E046147392FF5F0D1440BD1844C63C8523045B5EDF074C1D1205FCBEF84 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7811C3E343B302E2EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063721BEEAF38C6AE0B78638F802B75D45FF914D58D5BE9E6BC1A93B80C6DEB9DEE97C6FB206A91F05B2AC9A0236F733AC0D04B36429ED482A88AA867293B0326636D2E47CDBA5A96583C09775C1D3CA48CFE478A468B35FE767117882F4460429724CE54428C33FAD30A8DF7F3B2552694AC26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE7A46ADF0C403417779FA2833FD35BB23DF004C906525384302BEBFE083D3B9BA73A03B725D353964B0B7D0EA88DDEDAC722CA9DD8327EE4930A3850AC1BE2E735C6EABA9B74D0DA47B5C8C57E37DE458BEDA766A37F9254B7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CD0035DD76F8A8A4FDF9E3B5B7B587F4EBE0C187B005EA4529C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EF0417BEADF48D1460699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34E229BE567979C9409FCBFD5442DE505610F223141910FDF126458CE23D746590ACFA1A247D7C6CCA1D7E09C32AA3244C8A33EB952C5EF36CB5116F670F42829EB038C9161EF167A1FACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojyO2lHpuZu4QGq7+qoifPpg== X-Mailru-Sender: 689FA8AB762F73936BC43F508A0638228812DE88D2CD792DCDD6AAD815EB428A83D72C36FC87018B9F80AB2734326CD2FB559BB5D741EB96352A0ABBE4FDA4210A04DAD6CC59E33667EA787935ED9F1B X-Mras: Ok Subject: [Tarantool-patches] [PATCH v5 03/52] sql: disable unused code in sql/legacy.c X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Mergen Imeev via Tarantool-patches Reply-To: imeevma@tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" This patch disables unused code in sql/legacy.c. It will simplify refactoring. Needed for #5818 --- src/box/sql/legacy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/box/sql/legacy.c b/src/box/sql/legacy.c index 072954357..b1781b427 100644 --- a/src/box/sql/legacy.c +++ b/src/box/sql/legacy.c @@ -40,6 +40,8 @@ #include "box/execute.h" #include "box/session.h" +#if 0 + /* * Execute SQL code. Return one of the SQL_ success/failure * codes. @@ -162,3 +164,5 @@ sql_exec(sql * db, /* The database on which the SQL executes */ assert(rc == 0); return rc; } + +#endif -- 2.25.1