What about making the DeferredIndex class sort things exactly like the
IndexKeys read from index pages? Can it use the same compare function?
Lars-Erik Bjørk wrote:
> Hi all!
>
> I don't have the the battery capacity to write a long mail now (lucky
> you!) :) I analyzed bug#34478 ( http://bugs.mysql.com/bug.php?id=34478)
> which also narrows down to the use of 0x00 in index keys (this time as
> pad bytes in the deferred index). Does anyone have an opinion on how
> this bug can be avoided in a nice and correct fashion? Does it make any
> sense to pad with 0x00?
>
> 2 minutes capacity left, sorry the short mail, please see the report for
> a bit more elaborate version :)
>
> Best,
>
> Lars-Erik
>