> I wrote in previous email it's better to use
> HA_PARTIAL_COLUMN_READ check,
> see suggested patch(attachment).
It seems you are right about this magic flag. But it bothers me
that this isn't documented anywhere. Above the #define would be the
Also, I found this code copy-pasted before every time we call compare
can_compare_record= (!(table->file->ha_table_flags() &
if (!can_compare_record || compare_record(table))
Now that compare_record can always be used I suggest moving this code
into that function. What do you think?