We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6d90ee9 + d3cdfac commit a70c36bCopy full SHA for a70c36b
1 file changed
sqlite.zig
@@ -1969,10 +1969,10 @@ pub const DynamicStatement = struct {
1969
1970
var rows: std.ArrayList(Type) = .{};
1971
while (try iter.nextAlloc(allocator, options)) |row| {
1972
- try rows.append(row);
+ try rows.append(allocator, row);
1973
}
1974
1975
- return rows.toOwnedSlice();
+ return rows.toOwnedSlice(allocator);
1976
1977
};
1978
0 commit comments