diff options
| author | 2021-05-03 01:43:47 +0200 | |
|---|---|---|
| committer | 2021-05-03 01:43:49 +0200 | |
| commit | c0327a48600556a753beba627e67a0bc7e1c43ef (patch) | |
| tree | 9da3e7532a735f3b9193331f5acad371969d4e65 /sqlite.zig | |
| parent | workaround compiler bug (diff) | |
| download | zig-sqlite-c0327a48600556a753beba627e67a0bc7e1c43ef.tar.gz zig-sqlite-c0327a48600556a753beba627e67a0bc7e1c43ef.tar.xz zig-sqlite-c0327a48600556a753beba627e67a0bc7e1c43ef.zip | |
attempt to make the threading mode error clearer
Diffstat (limited to 'sqlite.zig')
| -rw-r--r-- | sqlite.zig | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 |