mirror of
https://github.com/sqlite/sqlite.git
synced 2026-01-06 08:01:16 +03:00
Ensure that if the "psow=0" URI option or FCNTL_POWERSAFE_OVERWRITE file-control is used to clear the power-safe overwrite flag, extra padding frames are added to the WAL file.
FossilOrigin-Name: 48c821fd97a8f03757c90560c37a46bd0843570e
This commit is contained in:
@@ -109,7 +109,7 @@ do_multiclient_test tn {
|
||||
} {1 2}
|
||||
do_test unixexcl-3.$tn.3 {
|
||||
sql1 { PRAGMA wal_checkpoint; INSERT INTO t1 VALUES(3, 4); }
|
||||
} {0 3 3}
|
||||
} {0 5 5}
|
||||
do_test unixexcl-3.$tn.4 {
|
||||
sql2 { SELECT * FROM t1; }
|
||||
} {1 2}
|
||||
@@ -121,7 +121,7 @@ do_multiclient_test tn {
|
||||
} {1 2 3 4}
|
||||
do_test unixexcl-3.$tn.7 {
|
||||
sql1 { PRAGMA wal_checkpoint; }
|
||||
} {0 4 4}
|
||||
} {0 7 7}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user