mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-29 08:01:23 +03:00
For the showdb utility program, more accurate detection of when the database
is in autovacuum mode for the "pgidx" subcommand. FossilOrigin-Name: 9ce2192b81a81bb8928e3184664694ed2f863ce41c2777cdc35e6b61486aea46
This commit is contained in:
@ -956,7 +956,7 @@ static void page_usage_freelist(int pgno){
|
||||
** Determine pages used as PTRMAP pages
|
||||
*/
|
||||
static void page_usage_ptrmap(unsigned char *a){
|
||||
if( a[55] ){
|
||||
if( decodeInt32(a+52) ){
|
||||
int usable = g.pagesize - a[20];
|
||||
int pgno = 2;
|
||||
int perPage = usable/5;
|
||||
|
Reference in New Issue
Block a user