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 0917A7034A; Tue, 23 Mar 2021 12:36:14 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 0917A7034A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1616492174; 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=huR+tMm9dkaP84x96OBbhF7du3Se7GGy1yfA0GBJmr5p6ghojKwnzlDMBhqPcHpx1 7ikHnLwmC1zYgc9M5MorB8jZhxVValSnt3I22XWusZ05qUT3X/Es0vnw82JKA98jeK um5iiDUdJxbC7gCyc5UtSeWHxIKAnnGzBjEBzLO4= Received: from smtp37.i.mail.ru (smtp37.i.mail.ru [94.100.177.97]) (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 E60317034A for ; Tue, 23 Mar 2021 12:34:55 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org E60317034A Received: by smtp37.i.mail.ru with esmtpa (envelope-from ) id 1lOdR9-0004fY-Br; Tue, 23 Mar 2021 12:34:55 +0300 To: v.shpilevoy@tarantool.org, tsafin@tarantool.org Cc: tarantool-patches@dev.tarantool.org Date: Tue, 23 Mar 2021 12:34:55 +0300 Message-Id: <7896b137a92574b42e2ccd32e3db841bc149eda4.1616491731.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: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD95D6E7CC48CB1F5F1DDD90A25A8FA528D0BFD61B598B81272182A05F538085040D962C7C82F53452B55848A773CA1850A8747347CD0305D83A6ED8C1B38847BD3 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7811C3E343B302E2EEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637BB46061768088B55EA1F7E6F0F101C67CDEEF6D7F21E0D1D174C73DBBBFC7664D54267400E4E38ECFC7C6C440D296DA7F5A8FED8DF3401F6389733CBF5DBD5E913377AFFFEAFD269176DF2183F8FC7C0A29E2F051442AF778941B15DA834481FCF19DD082D7633A0EF3E4896CB9E6436389733CBF5DBD5E9D5E8D9A59859A8B6BAA8CD687FCDB2EBCC7F00164DA146DA6F5DAA56C3B73B237318B6A418E8EAB8D32BA5DBAC0009BE9E8FC8737B5C22493191657A149C060576E601842F6C81A12EF20D2F80756B5F7E9C4E3C761E06A776E601842F6C81A127C277FBC8AE2E8BD847C20CAE77301C3AA81AA40904B5D9DBF02ECDB25306B2201CA6A4E26CD07C3BBE47FD9DD3FB595F5C1EE8F4F765FC72CEEB2601E22B091A620F70A64A45A99449624AB7ADAF3735872C767BF85DA29E625A9149C048EE0A3850AC1BE2E7359EF166FBCB559E954AD6D5ED66289B524E70A05D1297E1BB35872C767BF85DA227C277FBC8AE2E8BF783223E2FFF4BA875ECD9A6C639B01B4E70A05D1297E1BBC6867C52282FAC85D9B7C4F32B44FF57D4B828FA1BC0F1ACBD9CCCA9EDD067B1EDA766A37F9254B7 X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46D58B012E9CA6F2503355D89D7DBCDD132 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975C686AF563A045C75E884BC831D52AFADE0D3DEB3E83F138809C2B6934AE262D3EE7EAB7254005DCED7532B743992DF240BDC6A1CF3F042BAD6DF99611D93F60EF0417BEADF48D1460699F904B3F4130E343918A1A30D5E7FCCB5012B2E24CD356 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34682FD2D2951524C5DD260B77C56B300AAB88BA485AE739E7CD2E536A07D6B9822A28B15F940D4E9B1D7E09C32AA3244CC52D696CD36DDC721087FF229E2646193A76366E8A9DE7CAFACE5A9C96DEB163 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojWJZv20R+6UjWhyYJL1M6Qg== X-Mailru-Sender: 5C3750E245F362008BC1685FEC6306EDAF0FEC983C623F5A55848A773CA1850AFA95C477BC5130F85105BD0848736F9966FEC6BF5C9C28D97E07721503EA2E00ED97202A5A4E92BF7402F9BA4338D657ED14614B50AE0675 X-Mras: Ok Subject: [Tarantool-patches] [PATCH v4 03/53] 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