mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Fix another bug in walClearHash().
FossilOrigin-Name: 40f80ffe70ca691dfa146f6d84956ed0784fc63d
This commit is contained in:
24
manifest
24
manifest
@@ -1,8 +1,5 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
C Fix\sanother\sbug\sin\swalClearHash().
|
||||||
Hash: SHA1
|
D 2010-05-21T19:15:05
|
||||||
|
|
||||||
C Comment\sout\sthe\sSQLITE_FCNTL_SIZE_HINT\sfrom\sos_unix.c\ssince\sit\sdoes\snot\s\nseem\sto\sprovide\sany\sperformance\sgain\sthere.
|
|
||||||
D 2010-05-21T18:24:07
|
|
||||||
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
F Makefile.arm-wince-mingw32ce-gcc fcd5e9cd67fe88836360bb4f9ef4cb7f8e2fb5a0
|
||||||
F Makefile.in a5cad1f8f3e021356bfcc6c77dc16f6f1952bbc3
|
F Makefile.in a5cad1f8f3e021356bfcc6c77dc16f6f1952bbc3
|
||||||
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
F Makefile.linux-gcc d53183f4aa6a9192d249731c90dbdffbd2c68654
|
||||||
@@ -227,7 +224,7 @@ F src/vdbeblob.c 5327132a42a91e8b7acfb60b9d2c3b1c5c863e0e
|
|||||||
F src/vdbemem.c 2a82f455f6ca6f78b59fb312f96054c04ae0ead1
|
F src/vdbemem.c 2a82f455f6ca6f78b59fb312f96054c04ae0ead1
|
||||||
F src/vdbetrace.c 864cef96919323482ebd9986f2132435115e9cc2
|
F src/vdbetrace.c 864cef96919323482ebd9986f2132435115e9cc2
|
||||||
F src/vtab.c a0f8a40274e4261696ef57aa806de2776ab72cda
|
F src/vtab.c a0f8a40274e4261696ef57aa806de2776ab72cda
|
||||||
F src/wal.c 2b984834bb8f235919c2b476c03dcb2e7e5b83d6
|
F src/wal.c ad8e423a197525e04c2fa3ef51cc97a1c38934da
|
||||||
F src/wal.h 434f76f51225bb614e43ccb6bd2341541ba6a06e
|
F src/wal.h 434f76f51225bb614e43ccb6bd2341541ba6a06e
|
||||||
F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
|
F src/walker.c 3112bb3afe1d85dc52317cb1d752055e9a781f8f
|
||||||
F src/where.c 75fee9e255b62f773fcadd1d1f25b6f63ac7a356
|
F src/where.c 75fee9e255b62f773fcadd1d1f25b6f63ac7a356
|
||||||
@@ -816,14 +813,7 @@ F tool/speedtest2.tcl ee2149167303ba8e95af97873c575c3e0fab58ff
|
|||||||
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
F tool/speedtest8.c 2902c46588c40b55661e471d7a86e4dd71a18224
|
||||||
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
F tool/speedtest8inst1.c 293327bc76823f473684d589a8160bde1f52c14e
|
||||||
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
|
F tool/vdbe-compress.tcl d70ea6d8a19e3571d7ab8c9b75cba86d1173ff0f
|
||||||
P 75a1130d86faf18e73cb46cda5d029f1e913e4e6
|
P 7d01309da658d6b658c1b2e53bbdc5112fb0a4d9
|
||||||
R 839c593a17a6b567af49cdb7ef23c4db
|
R 2e048d2ddbf28060ebdb21766a34092e
|
||||||
U drh
|
U dan
|
||||||
Z 8d7556ec9f9935e65fbd17fdc1af5967
|
Z ab0da23d8b99c2d63fccda81279534cd
|
||||||
-----BEGIN PGP SIGNATURE-----
|
|
||||||
Version: GnuPG v1.4.6 (GNU/Linux)
|
|
||||||
|
|
||||||
iD8DBQFL9s/KoxKgR168RlERAuA2AJ4qgUiS8IHtHs0yl0ksOmtgd7JGxQCbBhTM
|
|
||||||
nKBnhjb7e+PupUPnzd4kGOI=
|
|
||||||
=H7pO
|
|
||||||
-----END PGP SIGNATURE-----
|
|
||||||
|
@@ -1 +1 @@
|
|||||||
7d01309da658d6b658c1b2e53bbdc5112fb0a4d9
|
40f80ffe70ca691dfa146f6d84956ed0784fc63d
|
@@ -1491,7 +1491,7 @@ static void walClearHash(Wal *pWal, u32 iOldMx, u32 iNewMx){
|
|||||||
iLimit = iNewMx - iZero;
|
iLimit = iNewMx - iZero;
|
||||||
if( iLimit>0 ){
|
if( iLimit>0 ){
|
||||||
int i; /* Used to iterate through aHash[] */
|
int i; /* Used to iterate through aHash[] */
|
||||||
for(i=0; i<HASHTABLE_NPAGE; i++){
|
for(i=0; i<HASHTABLE_NSLOT; i++){
|
||||||
if( aHash[i]>iLimit ){
|
if( aHash[i]>iLimit ){
|
||||||
aHash[i] = 0;
|
aHash[i] = 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user