diff options
Diffstat (limited to '')
| -rw-r--r-- | query.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -106,7 +106,7 @@ pub fn ParsedQuery(comptime query: []const u8) ParsedQueryState(query.len) { | |||
| 106 | if (!isNamedIdentifierChar(c)) { | 106 | if (!isNamedIdentifierChar(c)) { |
| 107 | // This marks the end of the named bind marker. | 107 | // This marks the end of the named bind marker. |
| 108 | state = .start; | 108 | state = .start; |
| 109 | const name = buf[hold_pos..pos - 1]; | 109 | const name = buf[hold_pos .. pos - 1]; |
| 110 | if (bindMarkerForName(bind_markers[0..nb_bind_markers], name) == null) { | 110 | if (bindMarkerForName(bind_markers[0..nb_bind_markers], name) == null) { |
| 111 | bind_markers[nb_bind_markers].name = name; | 111 | bind_markers[nb_bind_markers].name = name; |
| 112 | nb_bind_markers += 1; | 112 | nb_bind_markers += 1; |