1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-07 02:42:48 +03:00

Fix a compiler warning and providing missing VdbeCoverage() calls.

FossilOrigin-Name: 2edd2e5edd60210e18db58bce1e096dd211b6ece
This commit is contained in:
drh
2015-09-14 14:08:25 +00:00
parent e402dc57ae
commit 66336f3755
5 changed files with 15 additions and 13 deletions

View File

@@ -8117,7 +8117,7 @@ int sqlite3BtreeDelete(BtCursor *pCur, int bPreserve){
** before or after the deleted entry. In this case set bSkipnext to true. */
if( bPreserve ){
if( !pPage->leaf
|| (pPage->nFree + cellSizePtr(pPage, pCell) + 2)>(pBt->usableSize*2/3)
|| (pPage->nFree+cellSizePtr(pPage,pCell)+2)>(int)(pBt->usableSize*2/3)
){
/* A b-tree rebalance will be required after deleting this entry.
** Save the cursor key. */