From 81e05e6645e2bea08c73432c1b41ae6b73bd464f Mon Sep 17 00:00:00 2001 From: fiaxh Date: Wed, 1 Nov 2017 18:49:53 +0100 Subject: small fixes --- qlite/src/database.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qlite') 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()); } } -- cgit v1.2.3-70-g09d2