summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
authorGravatar Meghan Denny2021-08-09 01:17:29 -0700
committerGravatar Meghan Denny2021-08-09 01:17:29 -0700
commitc48ce60993a0b3e26f3f1f0af1e325270f937270 (patch)
tree6b1f6adfad861083acc27a3d23ab123ec6477c2b /sqlite.zig
parentmake `init` return a Self instead of updating a pointer (diff)
downloadzig-sqlite-c48ce60993a0b3e26f3f1f0af1e325270f937270.tar.gz
zig-sqlite-c48ce60993a0b3e26f3f1f0af1e325270f937270.tar.xz
zig-sqlite-c48ce60993a0b3e26f3f1f0af1e325270f937270.zip
iterator- pass along options object
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 498f83d..346b172 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -565,7 +565,7 @@ pub fn Iterator(comptime Type: type) type {
565 }, 565 },
566 .Struct => { 566 .Struct => {
567 std.debug.assert(columns == TypeInfo.Struct.fields.len); 567 std.debug.assert(columns == TypeInfo.Struct.fields.len);
568 return try self.readStruct(.{}); 568 return try self.readStruct(options);
569 }, 569 },
570 else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"), 570 else => @compileError("cannot read into type " ++ @typeName(Type) ++ " ; if dynamic memory allocation is required use nextAlloc"),
571 } 571 }