mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-15 11:41:13 +03:00
Fix ATTACH to use the symbolic name PAGER_SYNCHRONOUS_FULL rather than
an integer literal. FossilOrigin-Name: c4e192a0e5a408e198dbacb2752859a00d2b572f
This commit is contained in:
@@ -161,7 +161,7 @@ static void attachFunc(
|
||||
#endif
|
||||
sqlite3BtreeLeave(aNew->pBt);
|
||||
}
|
||||
aNew->safety_level = 3;
|
||||
aNew->safety_level = PAGER_SYNCHRONOUS_FULL;
|
||||
aNew->zName = sqlite3DbStrDup(db, zName);
|
||||
if( rc==SQLITE_OK && aNew->zName==0 ){
|
||||
rc = SQLITE_NOMEM_BKPT;
|
||||
|
||||
Reference in New Issue
Block a user