diff options
Diffstat (limited to 'audio/clementine/sqlite.patch')
-rw-r--r-- | audio/clementine/sqlite.patch | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/audio/clementine/sqlite.patch b/audio/clementine/sqlite.patch deleted file mode 100644 index 7f13e6109c..0000000000 --- a/audio/clementine/sqlite.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- a/src/core/database.cpp -+++ b/src/core/database.cpp -@@ -265,6 +265,16 @@ - StaticInit(); - - { -+#ifdef SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER -+ QVariant v = db.driver()->handle(); -+ if (v.isValid() && qstrcmp(v.typeName(), "sqlite3*") == 0) { -+ sqlite3* handle = *static_cast<sqlite3**>(v.data()); -+ if (handle) { -+ sqlite3_db_config(handle, SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER, 1, NULL); -+ } -+ } -+#endif -+ - QSqlQuery set_fts_tokenizer("SELECT fts3_tokenizer(:name, :pointer)", db); - set_fts_tokenizer.bindValue(":name", "unicode"); - set_fts_tokenizer.bindValue( - |