When deleting the master journal to commit a multi-database transaction, do

not sync the directory if PRAGMA synchronous=OFF for all participating
database files.

FossilOrigin-Name: 018d7671402a0f8103d1306641655b69f9fa235d
This commit is contained in:
drh
2015-03-16 16:44:55 +00:00
parent 5f881b8c8d
commit 75a4d7c3da
3 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -2143,7 +2143,7 @@ static int vdbeCommit(sqlite3 *db, Vdbe *p){
** doing this the directory is synced again before any individual
** transaction files are deleted.
*/
rc = sqlite3OsDelete(pVfs, zMaster, 1);
rc = sqlite3OsDelete(pVfs, zMaster, needSync);
sqlite3DbFree(db, zMaster);
zMaster = 0;
if( rc ){