diff options
author | Marco Bubke <marco.bubke@qt.io> | 2019-07-11 17:45:16 +0200 |
---|---|---|
committer | Marco Bubke <marco.bubke@qt.io> | 2019-07-16 08:28:19 +0000 |
commit | 596d310d42c4e325c8de80a4c06b566f82f34d24 (patch) | |
tree | 9479125d3a1a62b3e7d8b512b741205fd8d082e6 /src/libs/sqlite | |
parent | ec3c7946af36e539375dc9c0e366d31dfe4ca2b5 (diff) | |
download | qt-creator-596d310d42c4e325c8de80a4c06b566f82f34d24.tar.gz |
Sqlite: Remove temporary unused functions
We will maybe rank the functions in the future but today we don't use that
code.
Change-Id: I84c88b45ceae830c29c3c197e7d0d0c1a6d5c114
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/libs/sqlite')
-rw-r--r-- | src/libs/sqlite/sqlitedatabasebackend.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libs/sqlite/sqlitedatabasebackend.cpp b/src/libs/sqlite/sqlitedatabasebackend.cpp index 91e8df1b37..2f60677e59 100644 --- a/src/libs/sqlite/sqlitedatabasebackend.cpp +++ b/src/libs/sqlite/sqlitedatabasebackend.cpp @@ -35,8 +35,6 @@ #include <QThread> #include <QDebug> -#include "okapi_bm25.h" - #include "sqlite3.h" namespace Sqlite { @@ -221,9 +219,6 @@ void DatabaseBackend::registerBusyHandler() void DatabaseBackend::registerRankingFunction() { - // sqlite3_create_function_v2(sqliteDatabaseHandle(), "okapi_bm25", -1, SQLITE_ANY, 0, okapi_bm25, 0, 0, 0); - // sqlite3_create_function_v2(sqliteDatabaseHandle(), "okapi_bm25f", -1, SQLITE_UTF8, 0, okapi_bm25f, 0, 0, 0); - // sqlite3_create_function_v2(sqliteDatabaseHandle(), "okapi_bm25f_kb", -1, SQLITE_UTF8, 0, okapi_bm25f_kb, 0, 0, 0); } int DatabaseBackend::busyHandlerCallback(void *, int counter) |