summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 3291fbd..7e6018e 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -733,7 +733,7 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: ParsedQuery) t
733 733
734 _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); 734 _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null);
735 }, 735 },
736 else => @compileError("cannot bind field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), 736 else => @compileError("cannot bind field " ++ struct_field.name ++ " of type array of " ++ @typeName(arr.child)),
737 } 737 }
738 }, 738 },
739 else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), 739 else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)),