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 0EAB02A46F for ; Mon, 1 Apr 2019 16:45:01 -0400 (EDT) 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 BdQX1-hHBqWc for ; Mon, 1 Apr 2019 16:45:00 -0400 (EDT) Received: from smtp18.mail.ru (smtp18.mail.ru [94.100.176.155]) (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 B4F722A3FB for ; Mon, 1 Apr 2019 16:45:00 -0400 (EDT) From: Stanislav Zudin Subject: [tarantool-patches] [PATCH v2 03/15] sql: removes unused function. Date: Mon, 1 Apr 2019 23:44:41 +0300 Message-Id: <30c7e478a7d082dd60f970e85a5e17c3f6dcc8d4.1554150265.git.szudin@tarantool.org> In-Reply-To: References: In-Reply-To: References: 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, korablev@tarantool.org Cc: Stanislav Zudin Part of #3810 --- 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