summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
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 bfd6ee9..dcf05a1 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(allocator); 1975 return rows.toOwnedSlice(allocator);