diff options
Diffstat (limited to 'qlite/src/database.vala')
-rw-r--r-- | qlite/src/database.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qlite/src/database.vala b/qlite/src/database.vala index 1e39d227..8b2f447d 100644 --- a/qlite/src/database.vala +++ b/qlite/src/database.vala @@ -139,7 +139,7 @@ public class Database { ensure_init(); Sqlite.Statement statement; if (db.prepare_v2(sql, sql.length, out statement) != OK) { - error("SQLite error: %d - %s", db.errcode(), db.errmsg()); + error("SQLite error: %d - %s: %s", db.errcode(), db.errmsg(), sql); } return statement; } |