mirror of
https://git.sr.ht/~cismonx/bookmarkfs
synced 2025-06-07 19:58:50 +00:00
db: disable SQL printing in debug mode by default
This commit is contained in:
parent
e97adeaa7b
commit
d7724e9a8f
1 changed files with 2 additions and 2 deletions
4
src/db.c
4
src/db.c
|
@ -334,8 +334,8 @@ db_query (
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch_rows:
|
fetch_rows:
|
||||||
#if 1 && defined(BOOKMARKFS_DEBUG)
|
#ifdef BOOKMARKFS_DEBUG
|
||||||
{
|
if (0) {
|
||||||
char *sql = sqlite3_expanded_sql(stmt);
|
char *sql = sqlite3_expanded_sql(stmt);
|
||||||
debug_puts(sql);
|
debug_puts(sql);
|
||||||
sqlite3_free(sql);
|
sqlite3_free(sql);
|
||||||
|
|
Loading…
Add table
Reference in a new issue