mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-03 06:03:06 +00:00
tests
This commit is contained in:
parent
bab5cb989c
commit
6745c29efd
@ -52,7 +52,8 @@ proc bindParam(
|
||||
# to the return from sqlite3_bind_*(). The object and pointer to it
|
||||
# must remain valid until then. SQLite will then manage the lifetime of
|
||||
# its private copy."
|
||||
sqlite3_bind_blob(s, n.cint, unsafeAddr val[0], val.len.cint, SQLITE_TRANSIENT)
|
||||
var val = val
|
||||
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