diff options
| author | 2021-01-01 22:56:52 +0100 | |
|---|---|---|
| committer | 2021-01-01 22:56:52 +0100 | |
| commit | ed38b0d66aeb49f84c9dbcd5cc82a5d018622739 (patch) | |
| tree | ea3099981fc7512533194a91cfee3441f7613cbb /sqlite.zig | |
| parent | check the weight field too (diff) | |
| download | zig-sqlite-ed38b0d66aeb49f84c9dbcd5cc82a5d018622739.tar.gz zig-sqlite-ed38b0d66aeb49f84c9dbcd5cc82a5d018622739.tar.xz zig-sqlite-ed38b0d66aeb49f84c9dbcd5cc82a5d018622739.zip | |
fix compile error
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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)), |