From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Stanislav Zudin Subject: [PATCH 03/13] sql: removes unused function. Date: Fri, 15 Mar 2019 18:45:32 +0300 Message-Id: <0dca725d7fa92fc2fe4d9b365eb0506035414662.1552663061.git.szudin@tarantool.org> In-Reply-To: References: In-Reply-To: References: To: tarantool-patches@freelists.org, vdavydov.dev@gmail.com Cc: Stanislav Zudin List-ID: --- src/box/sql/main.c | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/box/sql/main.c b/src/box/sql/main.c index 9fe2e2c9d..a3c59b126 100644 --- a/src/box/sql/main.c +++ b/src/box/sql/main.c @@ -1910,22 +1910,6 @@ sql_uri_boolean(const char *zFilename, const char *zParam, int bDflt) return z ? sqlGetBoolean(z, bDflt) : bDflt; } -/* - * Return a 64-bit integer value for a query parameter. - */ -sql_int64 -sql_uri_int64(const char *zFilename, /* Filename as passed to xOpen */ - const char *zParam, /* URI parameter sought */ - sql_int64 bDflt) /* return if parameter is missing */ -{ - const char *z = sql_uri_parameter(zFilename, zParam); - int64_t v; - if (z != NULL && sql_dec_or_hex_to_i64(z, false, &v) == 0) - bDflt = v; - return bDflt; -} - - #ifdef SQL_ENABLE_SNAPSHOT /* * Obtain a snapshot handle for the snapshot of database zDb currently -- 2.17.1