diff options
author | RokkuCode <dev@strace.it> | 2020-11-23 15:15:55 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 15:15:55 +0100 |
commit | ffccdf3c1a91e3a4ac79b209ae4f034ad253d97b (patch) | |
tree | cc383a89dc304aadb196f1ad6bc38ee42a32ce60 | |
parent | 79ec1bdcbb6a9d957def958bc9eff3b4c4a7f1d4 (diff) | |
download | Nim-ffccdf3c1a91e3a4ac79b209ae4f034ad253d97b.tar.gz |
fixes #16080 (#16091) [backport:1.2]
* fixes #16080 db_sqlite: Error: undeclared field: 'untypedLen' * redacting fix
-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 ce57996be..5c79b8c2a 100644 --- a/lib/impure/db_sqlite.nim +++ b/lib/impure/db_sqlite.nim @@ -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: |