[Tarantool-patches] [PATCH v5 03/52] sql: disable unused code in sql/legacy.c
imeevma at tarantool.org
imeevma at tarantool.org
Fri Apr 9 19:51:32 MSK 2021
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
More information about the Tarantool-patches
mailing list