diff options
| author | Tristan Riehs <tristan.riehs@inria.fr> | 2026-07-08 16:14:10 +0200 |
|---|---|---|
| committer | Tristan Riehs <tristan.riehs@inria.fr> | 2026-07-08 16:14:10 +0200 |
| commit | ccf00ee32c88f7bf03deabe22ee6f60ae51701b8 (patch) | |
| tree | aa8695c46ab96fbaab38baf0571f4d34176d7640 | |
| parent | 955b1284888e877d405241952a367d8b20dfba26 (diff) | |
Add temporary debug message
| -rw-r--r-- | src/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1070,6 +1070,7 @@ static void ftag_tag_edit(int argc, char **argv) sanitize_sql_str(&new); /* TODO: fix isse with UTF-8 and sanitize_sql_str */ strbuild(sql, "UPDATE tags SET %s = '%s' WHERE name = '%s';", column_name, new, tag_name); + printf("debug: SQL query: \"%s\"\n", sql); rc = sqlite3_exec(db, sql, NULL, NULL, NULL); sqlite3_check(rc, db); free(old); |
