aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2022-09-02 00:36:16 +0000
committerdrh <>2022-09-02 00:36:16 +0000
commit18a3a48db1ff3f4fef94915e2021c5d0a790d24b (patch)
tree4382043ee6e4f05066b55977520ab9f107509567 /src/sqliteInt.h
parent44132244fab1d9754a9cc2091372fef1cc1c7997 (diff)
downloadsqlite-18a3a48db1ff3f4fef94915e2021c5d0a790d24b.tar.gz
sqlite-18a3a48db1ff3f4fef94915e2021c5d0a790d24b.zip
Experimental changes to put sqlite3_temp_directory behind a mutex.
FossilOrigin-Name: 5ee3515fbb88bf1ae5f8b507844f82dcc429380b6ebeab9b09b52b25ee60a60d
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 21d15378f..eef09e1f0 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_LRU
+
+/*
** Include the configuration header output by 'configure' if we're using the
** autoconf-based build
*/