diff options
author | fiaxh <git@mx.ax.lt> | 2017-11-01 18:49:53 +0100 |
---|---|---|
committer | fiaxh <git@mx.ax.lt> | 2017-11-01 18:53:38 +0100 |
commit | 81e05e6645e2bea08c73432c1b41ae6b73bd464f (patch) | |
tree | 6824f2895850dd0392c0f5899e47b4d1486a2f59 /qlite/src/database.vala | |
parent | d82194af58c8ff92634ce57ef293894ec4422efa (diff) | |
download | dino-81e05e6645e2bea08c73432c1b41ae6b73bd464f.tar.gz dino-81e05e6645e2bea08c73432c1b41ae6b73bd464f.zip |
small fixes
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 b153be73..37a7b7f7 100644 --- a/qlite/src/database.vala +++ b/qlite/src/database.vala @@ -132,7 +132,7 @@ public class Database { public void exec(string sql) throws Error { ensure_init(); if (db.exec(sql) != OK) { - throw new Error(-1, 0, @"SQLite error: $(db.errcode()) - $(db.errmsg())"); + throw new Error(-1, 0, "SQLite error: %d - %s", db.errcode(), db.errmsg()); } } |