]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Preserve the application-ID across VACUUM. Updates to the magic number
authordrh <drh@noemail.net>
Wed, 1 May 2013 20:36:23 +0000 (20:36 +0000)
committerdrh <drh@noemail.net>
Wed, 1 May 2013 20:36:23 +0000 (20:36 +0000)
file.

FossilOrigin-Name: 4a190bea18e156b6fa4dc9f21c3ad32409049603

magic.txt
manifest
manifest.uuid
src/vacuum.c

index 22bdae57126e74c7e48c2303a3dc68014dadb177..90e2dc50a01c457e1716e6efeba571353f561c2a 100644 (file)
--- a/magic.txt
+++ b/magic.txt
 # The Monotone application used "PRAGMA user_version=1598903374;" to set
 # its identifier long before "PRAGMA application_id" became available.
 # The user_version is very similar to application_id except that it is
-# stored at offset 60 instead of offset 68.  The user of 
+# stored at offset 68 instead of offset 60.  The user of 
 # "PRAGMA application_id" is preferred now.  The rules using offset 60
 # for Monotone are for historical compatibility only.
 #
 0    string  =SQLite\ format\ 3
->68  string  =_FSL     Fossil repository
->68  belong  =0
->>60 string  =_MTN     Monotone source repository
->>60 string  !_MTN     SQLite 3.x database
+>68  belong  =0x0f055111  Fossil repository -
+>68  belong  =0x0f055112  Fossil checkout - 
+>68  belong  =0x0f055113  Fossil global configuration - 
+>60  belong  =0x5f4d544e  Monotone source repository -
+>0   string  =SQLite      SQLite3 database
index 706371cb2461ccb8ee37cf6f8c664a5c3dea7e7f..06e860720a873558aa46b82bbbf6cfd6074aa89c 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Allocate\s4\sbytes\sof\sunused\sheader\sspace\sfor\san\s"Application\sID".\s\sAdd\nthe\s"PRAGMA\sapplication_id"\scommand\sto\sset\sand\squery\sthis\sidentifier.\nAdd\sthe\s"magic.txt"\sfile\sto\sshow\show\sthe\sposix\sfile\scommand\smight\suse\nthis\sapplication\sid.
-D 2013-05-01T19:49:27.740
+C Preserve\sthe\sapplication-ID\sacross\sVACUUM.\s\sUpdates\sto\sthe\smagic\snumber\nfile.
+D 2013-05-01T20:36:23.594
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in ce81671efd6223d19d4c8c6b88ac2c4134427111
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -112,7 +112,7 @@ F ext/rtree/tkt3363.test 142ab96eded44a3615ec79fba98c7bde7d0f96de
 F ext/rtree/viewrtree.tcl eea6224b3553599ae665b239bd827e182b466024
 F install-sh 9d4de14ab9fb0facae2f48780b874848cbf2f895 x
 F ltmain.sh 3ff0879076df340d2e23ae905484d8c15d5fdea8
-F magic.txt 4255db3a17f0da4b3f561a904585a6605fe6a6b8
+F magic.txt 626cd2e726c22440f94d5342e872011990f90401
 F main.mk 1b25be82452366abc27cc9ab2acf3244a773d5a1
 F mkdll.sh 7d09b23c05d56532e9d44a50868eb4b12ff4f74a
 F mkextu.sh 416f9b7089d80e5590a29692c9d9280a10dbad9f
@@ -250,7 +250,7 @@ F src/trigger.c cd95ac64efa60e39faf9b5597443192ff27a22fa
 F src/update.c a2a5631d618cbe240fc83725fa9e95c56ae0084c
 F src/utf.c 8d819e2e5104a430fc2005f018db14347c95a38f
 F src/util.c f566b5138099a2df8533b190d0dcc74b7dfbe0c9
-F src/vacuum.c 2727bdd08847fcb6b2d2da6d14f018910e8645d3
+F src/vacuum.c ddf21cc9577c4cb459d08bee9863a78ec000c5bb
 F src/vdbe.c 5f0047130f80c7fd0bc41bc51a653b5542c4fbd5
 F src/vdbe.h b52887278cb173e66188da84dfab216bea61119d
 F src/vdbeInt.h c1e830268b75f04a2901dd895b51a637a26c7045
@@ -1061,10 +1061,7 @@ F tool/vdbe-compress.tcl f12c884766bd14277f4fcedcae07078011717381
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh fbc018d67fd7395f440c28f33ef0f94420226381
 F tool/win/sqlite.vsix 97894c2790eda7b5bce3cc79cb2a8ec2fde9b3ac
-P faedaeace9c7ed9a8aaf96700caee09db0c0c061
-R 4f1b06c15d2f5747c86dc6db3cebcf91
-T *branch * application-id
-T *sym-application-id *
-T -sym-trunk *
+P 28c9e7fdee2471a3026ee05ff591194d5f398131
+R eb1c61fca07cfc02ebd6d8ced912d19c
 U drh
-Z 76bc7425f1509081256079e29083992d
+Z b916c83ab322021bf56be2467b81fddd
index 1b206e6fa8c9d885f05a870207b4179750c1fd26..f4b80354d1c6e417be1e3f60e32de9c931098a8a 100644 (file)
@@ -1 +1 @@
-28c9e7fdee2471a3026ee05ff591194d5f398131
\ No newline at end of file
+4a190bea18e156b6fa4dc9f21c3ad32409049603
\ No newline at end of file
index 7ed2478326c78f5271e1342187d1bdd4087965f1..4afb2cca64dd607611222c07932d12eacf0a2c22 100644 (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) );