diff --git a/src/files.c b/src/files.c index 1eb604c..c165b7e 100644 --- a/src/files.c +++ b/src/files.c @@ -1141,6 +1141,7 @@ void file_search() { rc = sqlite3_prepare_v2(db, sqlbuffer, -1, &res, 0); if (rc != SQLITE_OK) { + s_printf("%s\n", sqlite3_errmsg(db)); sqlite3_finalize(res); sqlite3_close(db); for (i=0;i