small bugfixes; documentation generator supports smilies for the forum

This commit is contained in:
Araq
2012-05-01 11:14:29 +02:00
committed by ringabout
parent f17a5c0c6b
commit 9f6219d5cf

View File

@@ -106,7 +106,7 @@ proc getRow*(db: TDbConn, query: TSqlQuery,
## retrieves a single row.
var stmt = setupQuery(db, query, args)
var L = int(columnCount(stmt))
var result = newRow(L)
result = newRow(L)
if step(stmt) == SQLITE_ROW:
setRow(stmt, result, L)
if finalize(stmt) != SQLITE_OK: dbError(db)