diff options
author | drh <> | 2022-09-02 11:12:16 +0000 |
---|---|---|
committer | drh <> | 2022-09-02 11:12:16 +0000 |
commit | fee6431392efdbf83d4efdbd639f1f37f4ebb275 (patch) | |
tree | b19b754f6d8107e85b8987a4505a39b9813d808e /src/sqliteInt.h | |
parent | 18a3a48db1ff3f4fef94915e2021c5d0a790d24b (diff) | |
download | sqlite-fee6431392efdbf83d4efdbd639f1f37f4ebb275.tar.gz sqlite-fee6431392efdbf83d4efdbd639f1f37f4ebb275.zip |
Improved mutex protection of the sqlite3_temp_directory and
sqlite3_data_directory global variables.
FossilOrigin-Name: ebbe9634d6dde9e097f61fb98a79111e46de422b7bbbd9ed3af7b6f22aacf5ec
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r-- | src/sqliteInt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h index eef09e1f0..aeb4cac43 100644 --- a/src/sqliteInt.h +++ b/src/sqliteInt.h @@ -201,7 +201,7 @@ /* ** Reuse the STATIC_LRU for mutex access to sqlite3_temp_directory. */ -#define SQLITE_MUTEX_STATIC_TEMPDIR SQLITE_MUTEX_STATIC_LRU +#define SQLITE_MUTEX_STATIC_TEMPDIR SQLITE_MUTEX_STATIC_VFS1 /* ** Include the configuration header output by 'configure' if we're using the @@ -4561,6 +4561,7 @@ int sqlite3IndexHasDuplicateRootPage(Index*); int sqlite3Init(sqlite3*, char**); int sqlite3InitCallback(void*, int, char**, char**); int sqlite3InitOne(sqlite3*, int, char**, u32); +char *sqlite3TempDirectory(void); void sqlite3Pragma(Parse*,Token*,Token*,Token*,int); #ifndef SQLITE_OMIT_VIRTUALTABLE Module *sqlite3PragmaVtabRegister(sqlite3*,const char *zName); |