db: disable SQL printing in debug mode by default

This commit is contained in:
CismonX 2025-02-18 10:31:55 +08:00
parent e97adeaa7b
commit d7724e9a8f
No known key found for this signature in database
GPG key ID: 3094873E29A482FB

View file

@ -334,8 +334,8 @@ db_query (
}
fetch_rows:
#if 1 && defined(BOOKMARKFS_DEBUG)
{
#ifdef BOOKMARKFS_DEBUG
if (0) {
char *sql = sqlite3_expanded_sql(stmt);
debug_puts(sql);
sqlite3_free(sql);