mirror of
https://github.com/nim-lang/Nim.git
synced 2026-07-29 03:37:55 +00:00
* fixes #16080
db_sqlite: Error: undeclared field: 'untypedLen'
* redacting fix
(cherry picked from commit ffccdf3c1a)
This commit is contained in:
@@ -792,7 +792,7 @@ macro untypedLen(args: varargs[untyped]): int =
|
||||
|
||||
template exec*(db: DbConn, stmtName: SqlPrepared,
|
||||
args: varargs[typed]): untyped =
|
||||
when args.untypedLen > 0:
|
||||
when untypedLen(args) > 0:
|
||||
if reset(stmtName.PStmt) != SQLITE_OK:
|
||||
dbError(db)
|
||||
if clear_bindings(stmtName.PStmt) != SQLITE_OK:
|
||||
|
||||
Reference in New Issue
Block a user