diff options
| author | 2025-10-18 12:07:46 -0400 | |
|---|---|---|
| committer | 2025-11-03 20:03:12 +0100 | |
| commit | c1a5f2720bad283f870df77b41430bd461bb9182 (patch) | |
| tree | 94ae937b44753ffef260a793894a553ab2a3efaa | |
| parent | update dynamic statement all to call arraylist.toOwnedSlice correctly (diff) | |
| download | zig-sqlite-zig-0.15.1.tar.gz zig-sqlite-zig-0.15.1.tar.xz zig-sqlite-zig-0.15.1.zip | |
update dynamic statement all to call arraylist.append correctlyzig-0.15.1
| -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); |