mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-28 17:04:41 +00:00
* fixes #16080 db_sqlite: Error: undeclared field: 'untypedLen' * redacting fix
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user