diff options
Diffstat (limited to 'src/mutex.c')
-rw-r--r-- | src/mutex.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mutex.c b/src/mutex.c index 64efd3b05..a2e4e6387 100644 --- a/src/mutex.c +++ b/src/mutex.c @@ -53,6 +53,7 @@ int sqlite3MutexInit(void){ pTo->xMutexLeave = pFrom->xMutexLeave; pTo->xMutexHeld = pFrom->xMutexHeld; pTo->xMutexNotheld = pFrom->xMutexNotheld; + sqlite3MemoryBarrier(); pTo->xMutexAlloc = pFrom->xMutexAlloc; } rc = sqlite3GlobalConfig.mutex.xMutexInit(); |