From c0327a48600556a753beba627e67a0bc7e1c43ef Mon Sep 17 00:00:00 2001 From: Vincent Rischmann Date: Mon, 3 May 2021 01:43:47 +0200 Subject: attempt to make the threading mode error clearer --- sqlite.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlite.zig') 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 { // Validate the threading mode if (options.threading_mode != .SingleThread and !isThreadSafe()) { - return error.CannotUseSingleThreadedSQLite; + return error.SQLiteBuildNotThreadSafe; } // Compute the flags -- cgit v1.2.3