Add diagnostics
This commit is contained in:
parent
237d27fe7a
commit
6b4cf60c7b
@ -1141,6 +1141,7 @@ void file_search() {
|
|||||||
rc = sqlite3_prepare_v2(db, sqlbuffer, -1, &res, 0);
|
rc = sqlite3_prepare_v2(db, sqlbuffer, -1, &res, 0);
|
||||||
|
|
||||||
if (rc != SQLITE_OK) {
|
if (rc != SQLITE_OK) {
|
||||||
|
s_printf("%s\n", sqlite3_errmsg(db));
|
||||||
sqlite3_finalize(res);
|
sqlite3_finalize(res);
|
||||||
sqlite3_close(db);
|
sqlite3_close(db);
|
||||||
for (i=0;i<searchterm_count;i++) {
|
for (i=0;i<searchterm_count;i++) {
|
||||||
|
Reference in New Issue
Block a user