diff options
author | drh <drh@noemail.net> | 2020-06-19 11:34:57 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-06-19 11:34:57 +0000 |
commit | ccb2113a622f4d119f97185a59d088910cf827b7 (patch) | |
tree | e29bfce471b80954b0174dbd770d9eccf97c982a /src/main.c | |
parent | 877859f2d36990bc06b4a37b82c9739e916c10d5 (diff) | |
download | sqlite-ccb2113a622f4d119f97185a59d088910cf827b7.tar.gz sqlite-ccb2113a622f4d119f97185a59d088910cf827b7.zip |
Refactoring various names. No changes in the resulting machine code.
FossilOrigin-Name: 7bb08b1bfcf184e4b59c8c9028926a0052612ff6a6731914ccdb8dee07ea4a98
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c index 9f99cbdf3..605647851 100644 --- a/src/main.c +++ b/src/main.c @@ -241,12 +241,12 @@ int sqlite3_initialize(void){ if( rc ) return rc; /* Initialize the malloc() system and the recursive pInitMutex mutex. - ** This operation is protected by the STATIC_MASTER mutex. Note that + ** This operation is protected by the STATIC_MAIN mutex. Note that ** MutexAlloc() is called for a static mutex prior to initializing the ** malloc subsystem - this implies that the allocation of a static ** mutex must not require support from the malloc subsystem. */ - MUTEX_LOGIC( pMaster = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER); ) + MUTEX_LOGIC( pMaster = sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MAIN); ) sqlite3_mutex_enter(pMaster); sqlite3GlobalConfig.isMutexInit = 1; if( !sqlite3GlobalConfig.isMallocInit ){ @@ -3112,7 +3112,7 @@ static int openDatabase( SQLITE_OPEN_MAIN_JOURNAL | SQLITE_OPEN_TEMP_JOURNAL | SQLITE_OPEN_SUBJOURNAL | - SQLITE_OPEN_MASTER_JOURNAL | + SQLITE_OPEN_SUPER_JOURNAL | SQLITE_OPEN_NOMUTEX | SQLITE_OPEN_FULLMUTEX | SQLITE_OPEN_WAL |