On Sun, 2005-05-22 at 10:19 +0200, Ludvig Strigeus wrote:
> Why not pass a single number to sqlite3VdbeRecordCompare instead, that
> just says how many fields to compare? That seems simpler. Why was the
> current design chosen.
>
The reason for not passing in a nField value is that the BTree
In sqlite3VdbeRecordCompare()
/* Read the serial types for the next element in each key. */
idx1 += sqlite3GetVarint32([idx1], _type1);
if( d1>=nKey1 && sqlite3VdbeSerialTypeLen(serial_type1)>0 ) break;
idx2 += sqlite3GetVarint32([idx2], _type2);
if( d2>=nKey2 &&
2 matches
Mail list logo