aboutsummaryrefslogtreecommitdiff
path: root/ext/session/changeset.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2019-03-19 15:36:46 +0000
committerdrh <drh@noemail.net>2019-03-19 15:36:46 +0000
commitf012dc4eb911a68cb5531b94d91cad7922d9999d (patch)
treeb8d0d9922c7da5a2afeee1a54dd5a9b984621175 /ext/session/changeset.c
parentb1dd3db537e98720fc840422f066e6a121983565 (diff)
downloadsqlite-f012dc4eb911a68cb5531b94d91cad7922d9999d.tar.gz
sqlite-f012dc4eb911a68cb5531b94d91cad7922d9999d.zip
When computing the amount of scratch memory needed during a rebalance operation,
assume the worst case for the number of cells per page, rather than relying on the BtPage.nCell value, which might be incorrect for a corrupt database. FossilOrigin-Name: a420ebd08f5a96b9e61a37cb42e1b3f346c23505630d9c33fe30ce7882959b36
Diffstat (limited to 'ext/session/changeset.c')
0 files changed, 0 insertions, 0 deletions