mirror of
https://github.com/sqlite/sqlite.git
synced 2025-11-05 04:30:38 +03:00
Performance improvements (CVS 1379)
FossilOrigin-Name: cad47917267d32ab00c8b949151c8bc3c6638479
This commit is contained in:
@@ -1521,7 +1521,7 @@ int sqlite3VdbeIdxKeyCompare(
|
||||
|
||||
pCellKey = (unsigned char *)sqlite3BtreeKeyFetch(pCur, nCellKey);
|
||||
if( !pCellKey ){
|
||||
pCellKey = (unsigned char *)sqliteMalloc(nCellKey);
|
||||
pCellKey = (unsigned char *)sqliteMallocRaw(nCellKey);
|
||||
if( !pCellKey ){
|
||||
return SQLITE_NOMEM;
|
||||
}
|
||||
@@ -1547,6 +1547,3 @@ int sqlite3VdbeIdxKeyCompare(
|
||||
}
|
||||
return SQLITE_OK;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user