diff options
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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); |