diff --git a/src/sqlite3.zig b/src/sqlite3.zig index 2f04155e1825a3f96a3a7fccb650f66105c3edb2..79f76d669ddad5aaef994e957918a6c7c28f0306 100644 --- a/src/sqlite3.zig +++ b/src/sqlite3.zig @@ -46,7 +46,7 @@ pub fn collect(self: *Self, alloc: *std.mem.Allocator, comptime T: type, comptim pub fn exec(self: *Self, alloc: *std.mem.Allocator, comptime query: string, args: anytype) !void { var stmt = try self.prepare(query); defer stmt.deinit(); - try stmt.execAlloc(.{ .allocator = alloc }, args); + try stmt.execAlloc(alloc, .{}, args); } pub fn first(self: *Self, alloc: *std.mem.Allocator, comptime T: type, comptime query: string, args: anytype) !?T {