diff options
author | drh <> | 2022-09-02 11:45:26 +0000 |
---|---|---|
committer | drh <> | 2022-09-02 11:45:26 +0000 |
commit | e04c9f4b33521a99388ce27eb46a0947fda44a26 (patch) | |
tree | 211ad76b79ab0c9d891209ec565c585db3754b15 /src/sqliteInt.h | |
parent | 44132244fab1d9754a9cc2091372fef1cc1c7997 (diff) | |
parent | fee6431392efdbf83d4efdbd639f1f37f4ebb275 (diff) | |
download | sqlite-e04c9f4b33521a99388ce27eb46a0947fda44a26.tar.gz sqlite-e04c9f4b33521a99388ce27eb46a0947fda44a26.zip |
Mutex protect access to the sqlite3_test_directory and sqlite3_data_directory
global variables. See
[forum:/forumpost/719a11e1314d1c70|forum thread 719a11e1314d1c70].
FossilOrigin-Name: 8e6ad3a3e942a326cf16432e16d6596c7206c05b6f45cd0ff3a9b836bcfc9deb
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index 21d15378f..148ba7594 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -199,6 +199,11 @@ #include "sqlite3.h" /* +** Reuse the STATIC_LRU for mutex access to sqlite3_temp_directory. +*/ +#define SQLITE_MUTEX_STATIC_TEMPDIR SQLITE_MUTEX_STATIC_VFS1 + +/* ** Include the configuration header output by 'configure' if we're using the ** autoconf-based build */ |