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

Fix a minor performance regression in btreeMoveto().

FossilOrigin-Name: d0712dfb24867a807c9cddcc12bd0aebe1d3e085
This commit is contained in:
dan
2011-09-05 20:16:38 +00:00
parent 03e9cfc223
commit 42acb3e597
5 changed files with 26 additions and 31 deletions

View File

@@ -669,7 +669,7 @@ static int btreeMoveto(
pIdxKey = 0;
}
rc = sqlite3BtreeMovetoUnpacked(pCur, pIdxKey, nKey, bias, pRes);
if( pKey ){
if( pFree ){
sqlite3DbFree(pCur->pKeyInfo->db, pFree);
}
return rc;