diff options
| author | 2023-11-22 18:23:34 +0100 | |
|---|---|---|
| committer | 2023-11-22 18:23:34 +0100 | |
| commit | 72dea06ef909328a021c242e96f1e9abd133f60c (patch) | |
| tree | 4728c25478ac732ac12f03ecf159d25674402adf /query.zig | |
| parent | Update vtab.zig (diff) | |
| parent | Merged from upstream (diff) | |
| download | zig-sqlite-72dea06ef909328a021c242e96f1e9abd133f60c.tar.gz zig-sqlite-72dea06ef909328a021c242e96f1e9abd133f60c.tar.xz zig-sqlite-72dea06ef909328a021c242e96f1e9abd133f60c.zip | |
Merge pull request #143 from edyu/master
Update to sqlite 3.44.0
Diffstat (limited to 'query.zig')
| -rw-r--r-- | query.zig | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -276,7 +276,7 @@ test "parsed query: bind markers types" { | |||
| 276 | 276 | ||
| 277 | inline for (testCases) |tc| { | 277 | inline for (testCases) |tc| { |
| 278 | @setEvalBranchQuota(100000); | 278 | @setEvalBranchQuota(100000); |
| 279 | const parsed_query = ParsedQuery(tc.query); | 279 | const parsed_query = comptime ParsedQuery(tc.query); |
| 280 | 280 | ||
| 281 | try testing.expectEqual(1, parsed_query.nb_bind_markers); | 281 | try testing.expectEqual(1, parsed_query.nb_bind_markers); |
| 282 | 282 | ||
| @@ -324,7 +324,7 @@ test "parsed query: bind markers identifier" { | |||
| 324 | }; | 324 | }; |
| 325 | 325 | ||
| 326 | inline for (testCases) |tc| { | 326 | inline for (testCases) |tc| { |
| 327 | const parsed_query = ParsedQuery(tc.query); | 327 | const parsed_query = comptime ParsedQuery(tc.query); |
| 328 | 328 | ||
| 329 | try testing.expectEqual(@as(usize, 1), parsed_query.nb_bind_markers); | 329 | try testing.expectEqual(@as(usize, 1), parsed_query.nb_bind_markers); |
| 330 | 330 | ||