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 a5807d0..d8b5dc2 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -2019,7 +2019,7 @@ pub fn Statement(comptime opts: StatementOptions, comptime query: anytype) type
2019 const StructTypeInfo = @typeInfo(StructType).Struct; 2019 const StructTypeInfo = @typeInfo(StructType).Struct;
2020 2020
2021 if (comptime query.nb_bind_markers != StructTypeInfo.fields.len) { 2021 if (comptime query.nb_bind_markers != StructTypeInfo.fields.len) {
2022 @compileError(comptime std.fmt.comptimePrint("expected {d} bind parameters but got {d}", .{ 2022 @compileError(std.fmt.comptimePrint("expected {d} bind parameters but got {d}", .{
2023 query.nb_bind_markers, 2023 query.nb_bind_markers,
2024 StructTypeInfo.fields.len, 2024 StructTypeInfo.fields.len,
2025 })); 2025 }));