summaryrefslogtreecommitdiff
path: root/sqlite.zig
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2021-08-31 17:13:17 +0200
committerGravatar Vincent Rischmann2021-08-31 17:13:17 +0200
commit3de99fb2c0fccbba736a5007ef62b0b27581cd08 (patch)
tree7cdb88b7e867b3b4b3c7e1ce5e896e9db1ce9730 /sqlite.zig
parentMerge branch 'fix-latest-zig' (diff)
parentfix the compile error from readArray (diff)
downloadzig-sqlite-3de99fb2c0fccbba736a5007ef62b0b27581cd08.tar.gz
zig-sqlite-3de99fb2c0fccbba736a5007ef62b0b27581cd08.tar.xz
zig-sqlite-3de99fb2c0fccbba736a5007ef62b0b27581cd08.zip
Merge branch 'fix-read-array'
Diffstat (limited to 'sqlite.zig')
-rw-r--r--sqlite.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/sqlite.zig b/sqlite.zig
index 6f8705b..d32b402 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -737,10 +737,10 @@ pub fn Iterator(comptime Type: type) type {
737 ret[size] = s; 737 ret[size] = s;
738 } 738 }
739 }, 739 },
740 else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), 740 else => @compileError("cannot read into array of " ++ @typeName(arr.child)),
741 } 741 }
742 }, 742 },
743 else => @compileError("cannot populate field " ++ field.name ++ " of type array of " ++ @typeName(arr.child)), 743 else => @compileError("cannot read into type " ++ @typeName(ret)),
744 } 744 }
745 return ret; 745 return ret;
746 } 746 }