Preserve the application-ID across VACUUM. Updates to the magic number

file.

FossilOrigin-Name: 4a190bea18e156b6fa4dc9f21c3ad32409049603
This commit is contained in:
drh
2013-05-01 20:36:23 +00:00
parent 4ee09b4bcc
commit b8a67ec827
4 changed files with 15 additions and 16 deletions
+1
View File
@@ -289,6 +289,7 @@ int sqlite3RunVacuum(char **pzErrMsg, sqlite3 *db){
BTREE_DEFAULT_CACHE_SIZE, 0, /* Preserve the default page cache size */
BTREE_TEXT_ENCODING, 0, /* Preserve the text encoding */
BTREE_USER_VERSION, 0, /* Preserve the user version */
BTREE_APPLICATION_ID, 0, /* Preserve the application id */
};
assert( 1==sqlite3BtreeIsInTrans(pTemp) );