diff options
| author | 2023-12-19 11:28:38 +0900 | |
|---|---|---|
| committer | 2023-12-19 18:12:28 +0900 | |
| commit | 228558f3970c70c90f15cf9ee6e22e07f7190bfb (patch) | |
| tree | 8e41576cf6b1d2d43877bb490c86af4dfc0adfec /query.zig | |
| parent | query: parse names of bind parameters (diff) | |
| download | zig-sqlite-228558f3970c70c90f15cf9ee6e22e07f7190bfb.tar.gz zig-sqlite-228558f3970c70c90f15cf9ee6e22e07f7190bfb.tar.xz zig-sqlite-228558f3970c70c90f15cf9ee6e22e07f7190bfb.zip | |
query: fix zig fmt errors
Diffstat (limited to 'query.zig')
| -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; |