diff options
author | Araq <rumpf_a@web.de> | 2014-01-17 08:47:51 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-01-17 08:47:51 +0100 |
commit | 383fbca27ef4f4e0b5eae0e0e02029fe644248ac (patch) | |
tree | 5ac65389061921d1b6122b8cbf83cec411ff617d /lib/impure | |
parent | 12247b3f56a74836af874d707bf63452c11dcf92 (diff) | |
download | Nim-383fbca27ef4f4e0b5eae0e0e02029fe644248ac.tar.gz |
better tester
Diffstat (limited to 'lib/impure')
-rw-r--r-- | lib/impure/db_sqlite.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/impure/db_sqlite.nim b/lib/impure/db_sqlite.nim index c27efc358..a3499a6df 100644 --- a/lib/impure/db_sqlite.nim +++ b/lib/impure/db_sqlite.nim @@ -76,7 +76,7 @@ proc tryExec*(db: TDbConn, query: TSqlQuery, proc exec*(db: TDbConn, query: TSqlQuery, args: varargs[string, `$`]) {. tags: [FReadDB, FWriteDb].} = ## executes the query and raises EDB if not successful. - if not TryExec(db, query, args): dbError(db) + if not tryExec(db, query, args): dbError(db) proc newRow(L: int): TRow = newSeq(result, L) |