diff options
| author | 2025-10-18 12:07:46 -0400 | |
|---|---|---|
| committer | 2025-10-18 12:07:46 -0400 | |
| commit | 15a165678e0882608c777664f0d53e359e114a09 (patch) | |
| tree | e6f5b0519424feb8918cd0f90adcd6c3c648ad83 /sqlite.zig | |
| parent | fix: linking should be static, not dynamic (diff) | |
| download | zig-sqlite-15a165678e0882608c777664f0d53e359e114a09.tar.gz zig-sqlite-15a165678e0882608c777664f0d53e359e114a09.tar.xz zig-sqlite-15a165678e0882608c777664f0d53e359e114a09.zip | |
update dynamic statement all to call arraylist.append correctly
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(); | 1975 | return rows.toOwnedSlice(); |