mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Expand the getVarint32() macro in a few places, as the C-compiler seems to
be able to optimize better when that macro is expanded manually. FossilOrigin-Name: cd4fe34b98bf5ce26f3596c717edb73932f3b46ad6e9b4934d06b7b3c176a0d6
This commit is contained in:
@@ -2739,7 +2739,11 @@ op_column_restart:
|
||||
assert( pC->szRow<=65536 ); /* Maximum page size is 64KiB */
|
||||
}
|
||||
pC->cacheStatus = p->cacheCtr;
|
||||
pC->iHdrOffset = getVarint32(pC->aRow, aOffset[0]);
|
||||
if( (aOffset[0] = pC->aRow[0])<0x80 ){
|
||||
pC->iHdrOffset = 1;
|
||||
}else{
|
||||
pC->iHdrOffset = sqlite3GetVarint32(pC->aRow, aOffset);
|
||||
}
|
||||
pC->nHdrParsed = 0;
|
||||
|
||||
if( pC->szRow<aOffset[0] ){ /*OPTIMIZATION-IF-FALSE*/
|
||||
|
Reference in New Issue
Block a user