Check the return value of sqlite3PagerWrite() when autovacuuming.
Ticket #2524. (CVS 4176) FossilOrigin-Name: b4a5c62b853f7a7d38863c39be274dccd2640944
This commit is contained in:
parent
6615095629
commit
67f80b67bb
12
manifest
12
manifest
@ -1,5 +1,5 @@
|
||||
C Rework\sthe\sUTF8\sreader\slogic\sin\sorder\sto\savoid\sthe\suse\sof\smalloc().\nTicket\s#2523.\s(CVS\s4175)
|
||||
D 2007-07-23T19:12:42
|
||||
C Check\sthe\sreturn\svalue\sof\ssqlite3PagerWrite()\swhen\sautovacuuming.\nTicket\s#2524.\s(CVS\s4176)
|
||||
D 2007-07-23T19:26:17
|
||||
F Makefile.in 0c0e53720f658c7a551046442dd7afba0b72bfbe
|
||||
F Makefile.linux-gcc 65241babba6faf1152bf86574477baab19190499
|
||||
F README 9c4e2d6706bdcc3efdd773ce752a8cdab4f90028
|
||||
@ -68,7 +68,7 @@ F src/alter.c 24c81ed6734304326922d42430567d1ee368c81d
|
||||
F src/analyze.c 8d345472e0f4e44fc88f5cf489c16dcb77904525
|
||||
F src/attach.c ba628db0c2b6a362f036d017bf1196cdfe4ebb37
|
||||
F src/auth.c 5ea90bc93dfea46e9fe4bf531e14c7cd98219ecb
|
||||
F src/btree.c c1cc6660b01d9e9f4329a9ab559d6a991c2be638
|
||||
F src/btree.c 53c6108fdc70e708be463afb48c98e51565f0d78
|
||||
F src/btree.h 1d527bf61ed176f980c34999d5793a0fd45dcf8c
|
||||
F src/btreeInt.h ac1ab1fb624ffbe571786cd2bd9559f9ae336355
|
||||
F src/build.c 59fd5782a728686148a6d30a5df283c177d22c1f
|
||||
@ -520,7 +520,7 @@ F www/tclsqlite.tcl 8be95ee6dba05eabcd27a9d91331c803f2ce2130
|
||||
F www/vdbe.tcl 87a31ace769f20d3627a64fa1fade7fed47b90d0
|
||||
F www/version3.tcl 890248cf7b70e60c383b0e84d77d5132b3ead42b
|
||||
F www/whentouse.tcl fc46eae081251c3c181bd79c5faef8195d7991a5
|
||||
P 77ebc3feb089c28155cf20873fb4eabd26fa50c1
|
||||
R 4c6f94c5ade866798dc608d64060285b
|
||||
P 9a059cb6bced5cdc950f7816602ac92d89a899be
|
||||
R de95d23d2d2c52fc380d1f516977c2ee
|
||||
U drh
|
||||
Z 9a4a3510d0a6e206d28b34d524cb6b1e
|
||||
Z 059b1dcab09f99a22f4e8360846314b4
|
||||
|
@ -1 +1 @@
|
||||
9a059cb6bced5cdc950f7816602ac92d89a899be
|
||||
b4a5c62b853f7a7d38863c39be274dccd2640944
|
@ -9,7 +9,7 @@
|
||||
** May you share freely, never taking more than you give.
|
||||
**
|
||||
*************************************************************************
|
||||
** $Id: btree.c,v 1.392 2007/06/26 01:04:49 drh Exp $
|
||||
** $Id: btree.c,v 1.393 2007/07/23 19:26:17 drh Exp $
|
||||
**
|
||||
** This file implements a external (disk-based) database using BTrees.
|
||||
** See the header comment on "btreeInt.h" for additional information.
|
||||
@ -2009,7 +2009,7 @@ static int autoVacuumCommit(BtShared *pBt, Pgno *pnTrunc){
|
||||
assert(nFin==0 || pBt->nTrunc==0 || nFin<=pBt->nTrunc);
|
||||
rc = SQLITE_OK;
|
||||
if( pBt->nTrunc ){
|
||||
sqlite3PagerWrite(pBt->pPage1->pDbPage);
|
||||
rc = sqlite3PagerWrite(pBt->pPage1->pDbPage);
|
||||
put4byte(&pBt->pPage1->aData[32], 0);
|
||||
put4byte(&pBt->pPage1->aData[36], 0);
|
||||
pBt->nTrunc = nFin;
|
||||
|
Loading…
x
Reference in New Issue
Block a user