summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
authorGravatar Meghan Denny2021-08-09 01:17:49 -0700
committerGravatar Meghan Denny2021-08-09 01:17:49 -0700
commitfc3d68e1764600cf508cc9ebc35b7b84140ef4ee (patch)
tree300b42ea506565162a073bf2147a70d233b28220 /sqlite.zig
parentiterator- pass along options object (diff)
downloadzig-sqlite-fc3d68e1764600cf508cc9ebc35b7b84140ef4ee.tar.gz
zig-sqlite-fc3d68e1764600cf508cc9ebc35b7b84140ef4ee.tar.xz
zig-sqlite-fc3d68e1764600cf508cc9ebc35b7b84140ef4ee.zip
options asks for `allocator` field but its not there
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 346b172..e8b3980 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -492,6 +492,7 @@ pub const Db = struct {
492pub const QueryOptions = struct { 492pub const QueryOptions = struct {
493 /// if provided, diags will be populated in case of failures. 493 /// if provided, diags will be populated in case of failures.
494 diags: ?*Diagnostics = null, 494 diags: ?*Diagnostics = null,
495 allocator: *std.mem.Allocator = undefined,
495}; 496};
496 497
497/// Iterator allows iterating over a result set. 498/// Iterator allows iterating over a result set.