* fixes #16080 db_sqlite: Error: undeclared field: 'untypedLen' * redacting fix
This commit is contained in:
parent
79ec1bdcbb
commit
ffccdf3c1a
1 changed files with 1 additions and 1 deletions
|
|
@ -855,7 +855,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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue