diff options
author | dan <dan@noemail.net> | 2020-07-13 18:04:27 +0000 |
---|---|---|
committer | dan <dan@noemail.net> | 2020-07-13 18:04:27 +0000 |
commit | a7f82d9f47ca75a2f47dc14f8a8deb6730d718d0 (patch) | |
tree | e2000d1d8b1b14297c1a8790c65dd90c4a20e2b9 /tool/showdb.c | |
parent | 7465787b97a0a09841e343630a07ba80f1399e4a (diff) | |
parent | 5b107654e965973e68c88f90a09a3cc53bac9d8b (diff) | |
download | sqlite-a7f82d9f47ca75a2f47dc14f8a8deb6730d718d0.tar.gz sqlite-a7f82d9f47ca75a2f47dc14f8a8deb6730d718d0.zip |
Merge latest trunk changes with this branch.
FossilOrigin-Name: 5ee3c27e20d12a126fb773b428bb864102b949a5b26a8d5c523753dcedf4be10
Diffstat (limited to 'tool/showdb.c')
-rw-r--r-- | tool/showdb.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/showdb.c b/tool/showdb.c index fe4e9aca0..b79cc1eff 100644 --- a/tool/showdb.c +++ b/tool/showdb.c @@ -999,7 +999,7 @@ static void page_usage_report(const char *zPrg, const char *zDbName){ page_usage_freelist(decodeInt32(a+32)); page_usage_ptrmap(a); sqlite3_free(a); - page_usage_btree(1, 0, 0, "sqlite_master"); + page_usage_btree(1, 0, 0, "sqlite_schema"); sqlite3_exec(db, "PRAGMA writable_schema=ON", 0, 0, 0); for(j=0; j<2; j++){ sqlite3_snprintf(sizeof(zQuery), zQuery, @@ -1055,7 +1055,7 @@ static void ptrmap_coverage_report(const char *zDbName){ usable = g.pagesize - aHdr[20]; perPage = usable/5; sqlite3_free(aHdr); - printf("%5d: root of sqlite_master\n", 1); + printf("%5d: root of sqlite_schema\n", 1); for(pgno=2; pgno<=g.mxPage; pgno += perPage+1){ printf("%5d: PTRMAP page covering %d..%d\n", pgno, pgno+1, pgno+perPage); |