aboutsummaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authordrh <>2022-01-17 14:42:38 +0000
committerdrh <>2022-01-17 14:42:38 +0000
commit5a6f818d84e6eecffbd25a212654392479eb22b6 (patch)
treeb5f8ca2a8ca3406fe90b110582a101d2e2a05d51 /src/json.c
parent7d44b22d45a55a2783a32e67d5bd4487fcb4d00c (diff)
downloadsqlite-5a6f818d84e6eecffbd25a212654392479eb22b6.tar.gz
sqlite-5a6f818d84e6eecffbd25a212654392479eb22b6.zip
Never allow the b-tree layers view of the number of pages in the database
file exceed the actual number of pages in the database file, even when PRAGMA writeable_schema=ON. This helps with earlier detection of corruption, and prevents excess memory usage and CPU cycles in some integrity_check ops. FossilOrigin-Name: 0407c8793700491b8519a649b9624f569b0e7e9b94d0db79d4a08139e0ecdb69
Diffstat (limited to 'src/json.c')
0 files changed, 0 insertions, 0 deletions