mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Remove a corruption test in balance_nonroot that is superceded by a prior
better check. FossilOrigin-Name: 00693682d8664fa608ba43684f6376a9bd5b84eb
This commit is contained in:
12
manifest
12
manifest
@@ -1,5 +1,5 @@
|
|||||||
C Omit\sthe\srowallock.test\sscript\s(Read-Only\sWAL\slock)\sfrom\sthe\s\ninmemory_journal\spermutation.
|
C Remove\sa\scorruption\stest\sin\sbalance_nonroot\sthat\sis\ssuperceded\sby\sa\sprior\nbetter\scheck.
|
||||||
D 2015-05-29T15:15:40.911
|
D 2015-05-29T17:13:14.348
|
||||||
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
|
||||||
F Makefile.in 994bab32a3a69e0c35bd148b65cde49879772964
|
F Makefile.in 994bab32a3a69e0c35bd148b65cde49879772964
|
||||||
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
|
||||||
@@ -192,7 +192,7 @@ F src/auth.c b56c78ebe40a2110fd361379f7e8162d23f92240
|
|||||||
F src/backup.c ff743689c4d6c5cb55ad42ed9d174b2b3e71f1e3
|
F src/backup.c ff743689c4d6c5cb55ad42ed9d174b2b3e71f1e3
|
||||||
F src/bitvec.c 5eb7958c3bf65210211cbcfc44eff86d0ded7c9d
|
F src/bitvec.c 5eb7958c3bf65210211cbcfc44eff86d0ded7c9d
|
||||||
F src/btmutex.c 45a968cc85afed9b5e6cf55bf1f42f8d18107f79
|
F src/btmutex.c 45a968cc85afed9b5e6cf55bf1f42f8d18107f79
|
||||||
F src/btree.c a1f510492027253e016d347d78d3c94ea0376595
|
F src/btree.c 7dcddf0ae24076ba6ee3cda393c6211a5c6a2477
|
||||||
F src/btree.h 969adc948e89e449220ff0ff724c94bb2a52e9f1
|
F src/btree.h 969adc948e89e449220ff0ff724c94bb2a52e9f1
|
||||||
F src/btreeInt.h 973a22a6fd61350b454ad614832b1f0a5e25a1e4
|
F src/btreeInt.h 973a22a6fd61350b454ad614832b1f0a5e25a1e4
|
||||||
F src/build.c 85a169a0a22f8b80caf513eaf2944d39b979f571
|
F src/build.c 85a169a0a22f8b80caf513eaf2944d39b979f571
|
||||||
@@ -1281,7 +1281,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
|
|||||||
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
|
F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
|
||||||
F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
|
F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
|
||||||
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
|
F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
|
||||||
P 020b8b106fc8f840f6b506e1c9c3bc75676daec3
|
P d21db3308996510ffc3c869c2ac093de70d03412
|
||||||
R 66158a5898be2753c3b3aab0410cc41d
|
R 384e50fd9f5eabe1effd940fe34288b1
|
||||||
U drh
|
U drh
|
||||||
Z e9a85cbb72f219095603560550fbabe4
|
Z 2414e807ca41c4170d36989b6a30d8be
|
||||||
|
@@ -1 +1 @@
|
|||||||
d21db3308996510ffc3c869c2ac093de70d03412
|
00693682d8664fa608ba43684f6376a9bd5b84eb
|
@@ -7027,10 +7027,6 @@ static int balance_nonroot(
|
|||||||
/*
|
/*
|
||||||
** Allocate k new pages. Reuse old pages where possible.
|
** Allocate k new pages. Reuse old pages where possible.
|
||||||
*/
|
*/
|
||||||
if( apOld[0]->pgno<=1 ){
|
|
||||||
rc = SQLITE_CORRUPT_BKPT;
|
|
||||||
goto balance_cleanup;
|
|
||||||
}
|
|
||||||
pageFlags = apOld[0]->aData[0];
|
pageFlags = apOld[0]->aData[0];
|
||||||
for(i=0; i<k; i++){
|
for(i=0; i<k; i++){
|
||||||
MemPage *pNew;
|
MemPage *pNew;
|
||||||
|
Reference in New Issue
Block a user