mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-04 14:43:12 +00:00
tests
This commit is contained in:
parent
6745c29efd
commit
25bb865e20
@ -53,7 +53,8 @@ proc bindParam(
|
||||
# must remain valid until then. SQLite will then manage the lifetime of
|
||||
# its private copy."
|
||||
var val = val
|
||||
sqlite3_bind_blob(s, n.cint, addr val[0], val.len.cint, SQLITE_TRANSIENT)
|
||||
sqlite3_bind_blob(s, n.cint, addr val[0], val.len.cint,
|
||||
SQLITE_TRANSIENT)
|
||||
else:
|
||||
sqlite3_bind_null(s, n.cint)
|
||||
elif val is int32:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user