MOre diagnostics

This commit is contained in:
Andrew Pamment 2017-10-19 13:13:52 +10:00
parent bbf067d53a
commit 0edc68105b

View File

@ -1162,7 +1162,7 @@ void file_search() {
} }
} }
s_printf("%s\n", sqlite3_errmsg(db));
while (sqlite3_step(res) == SQLITE_ROW) { while (sqlite3_step(res) == SQLITE_ROW) {
if (files_c == 0) { if (files_c == 0) {
@ -1180,6 +1180,9 @@ void file_search() {
files_e[files_c]->sub = gUser->cur_file_sub; files_e[files_c]->sub = gUser->cur_file_sub;
files_c++; files_c++;
} }
s_printf("%s\n", sqlite3_errmsg(db));
sqlite3_finalize(res); sqlite3_finalize(res);
sqlite3_close(db); sqlite3_close(db);