diff options
| author | 2020-10-30 12:15:06 +0100 | |
|---|---|---|
| committer | 2020-10-30 12:15:06 +0100 | |
| commit | d9602a78caabeac430cedf7197e67386a3384c2e (patch) | |
| tree | dbf4c6c4e3e46ed550c4f9f9834ceccc0587948d | |
| parent | remove unused code (diff) | |
| download | zig-sqlite-d9602a78caabeac430cedf7197e67386a3384c2e.tar.gz zig-sqlite-d9602a78caabeac430cedf7197e67386a3384c2e.tar.xz zig-sqlite-d9602a78caabeac430cedf7197e67386a3384c2e.zip | |
fix compileError message
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -240,7 +240,7 @@ pub fn Statement(comptime opts: StatementOptions) type { | |||
| 240 | 240 | ||
| 241 | _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); | 241 | _ = c.sqlite3_bind_text(self.stmt, column, data.ptr, @intCast(c_int, data.len), null); |
| 242 | }, | 242 | }, |
| 243 | else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), | 243 | else => @compileError("cannot bind field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), |
| 244 | } | 244 | } |
| 245 | }, | 245 | }, |
| 246 | else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), | 246 | else => @compileError("cannot bind field " ++ struct_field.name ++ " of type " ++ @typeName(struct_field.field_type)), |