Enhance the WAL header sync so that it honors the various synchronous

pragmas, settings, and device characteristics.

FossilOrigin-Name: 9799241f7de952c4d1ea8bf6508b577d2b57a370
This commit is contained in:
drh
2011-12-16 21:26:26 +00:00
parent 88f975a7a4
commit 4eb02a4556
7 changed files with 89 additions and 54 deletions
+1
View File
@@ -217,6 +217,7 @@ foreach {tn syncmode synccount} {
execsql "PRAGMA synchronous = $syncmode"
execsql { PRAGMA journal_mode = WAL }
execsql { CREATE TABLE filler(a,b,c); }
set ::syncs [list]
T filter xSync