Skip to content

Commit c1a5f27

Browse files
PFWhitevrischmann
authored andcommitted
update dynamic statement all to call arraylist.append correctly
1 parent 2d51563 commit c1a5f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlite.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1969,7 +1969,7 @@ pub const DynamicStatement = struct {
19691969

19701970
var rows: std.ArrayList(Type) = .{};
19711971
while (try iter.nextAlloc(allocator, options)) |row| {
1972-
try rows.append(row);
1972+
try rows.append(allocator, row);
19731973
}
19741974

19751975
return rows.toOwnedSlice(allocator);

0 commit comments

Comments
 (0)