summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 8a000aa..dcf05a1 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -1969,10 +1969,10 @@ 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(allocator);
1976 } 1976 }
1977}; 1977};
1978 1978