summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Patrick2025-10-18 12:07:46 -0400
committerGravatar Patrick2025-10-18 12:07:46 -0400
commit15a165678e0882608c777664f0d53e359e114a09 (patch)
treee6f5b0519424feb8918cd0f90adcd6c3c648ad83
parentfix: linking should be static, not dynamic (diff)
downloadzig-sqlite-15a165678e0882608c777664f0d53e359e114a09.tar.gz
zig-sqlite-15a165678e0882608c777664f0d53e359e114a09.tar.xz
zig-sqlite-15a165678e0882608c777664f0d53e359e114a09.zip
update dynamic statement all to call arraylist.append correctly
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 8a000aa..8812b74 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -1969,7 +1969,7 @@ pub const DynamicStatement = struct {
1969 1969
1970 var rows: std.ArrayList(Type) = .{}; 1970 var rows: std.ArrayList(Type) = .{};
1971 while (try iter.nextAlloc(allocator, options)) |row| { 1971 while (try iter.nextAlloc(allocator, options)) |row| {
1972 try rows.append(row); 1972 try rows.append(allocator, row);
1973 } 1973 }
1974 1974
1975 return rows.toOwnedSlice(); 1975 return rows.toOwnedSlice();