1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Add SQLITE_IOCAP_ZERO_DAMAGE and enable it for both unix and windows. Use

this device characteristic to reduce the required work in journaling.
A side effect is that this changes the default page exists back to 1024
even with the use of statvfs().

FossilOrigin-Name: a0be6ea464695fdf1eaf2b7cf0652778617814f2
This commit is contained in:
drh
2011-12-17 19:49:02 +00:00
parent 9c0e29371e
commit 8bbaa89d8d
9 changed files with 65 additions and 40 deletions

View File

@@ -1174,6 +1174,7 @@ static int testvfs_obj_cmd(
{ "sequential", SQLITE_IOCAP_SEQUENTIAL },
{ "safe_append", SQLITE_IOCAP_SAFE_APPEND },
{ "undeletable_when_open", SQLITE_IOCAP_UNDELETABLE_WHEN_OPEN },
{ "zero_damage", SQLITE_IOCAP_ZERO_DAMAGE },
{ 0, 0 }
};
Tcl_Obj *pRet;