summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Vincent Rischmann2021-05-03 01:43:47 +0200
committerGravatar Vincent Rischmann2021-05-03 01:43:49 +0200
commitc0327a48600556a753beba627e67a0bc7e1c43ef (patch)
tree9da3e7532a735f3b9193331f5acad371969d4e65
parentworkaround compiler bug (diff)
downloadzig-sqlite-c0327a48600556a753beba627e67a0bc7e1c43ef.tar.gz
zig-sqlite-c0327a48600556a753beba627e67a0bc7e1c43ef.tar.xz
zig-sqlite-c0327a48600556a753beba627e67a0bc7e1c43ef.zip
attempt to make the threading mode error clearer
-rw-r--r--sqlite.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlite.zig b/sqlite.zig
index cad4a6e..1c22c83 100644
--- a/sqlite.zig
+++ b/sqlite.zig
@@ -306,7 +306,7 @@ pub const Db = struct {
306 306
307 // Validate the threading mode 307 // Validate the threading mode
308 if (options.threading_mode != .SingleThread and !isThreadSafe()) { 308 if (options.threading_mode != .SingleThread and !isThreadSafe()) {
309 return error.CannotUseSingleThreadedSQLite; 309 return error.SQLiteBuildNotThreadSafe;
310 } 310 }
311 311
312 // Compute the flags 312 // Compute the flags