Skip to content

Commit

Permalink
Drop a leftover sqlite pragma case_sensitive_like
Browse files Browse the repository at this point in the history
Sqlite upstream has deprecated case_sensitive_like, but we no longer
use SQL LIKE since c938047 so we
can just drop it.

Suggested-by: Michael Schroeder <[email protected]>

Fixes: rpm-software-management#2925
  • Loading branch information
pmatilai committed Feb 27, 2024
1 parent 217e217 commit 233ddeb
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/backend/sqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,6 @@ static int sqlite_init(rpmdb rdb, const char * dbhome)
sqlite3_busy_timeout(sdb, 10000);

sqlexec(sdb, "PRAGMA secure_delete = OFF");
sqlexec(sdb, "PRAGMA case_sensitive_like = ON");

if (sqlite3_db_readonly(sdb, NULL) == 0) {
if (sqlexec(sdb, "PRAGMA journal_mode = WAL") == 0) {
Expand Down

0 comments on commit 233ddeb

Please sign in to comment.