Leonard Zhou wrote:
> #At file:///home/zhl/mysql/rep/5.0/bug35515/
> 2714 Leonard Zhou 2009-03-19
> BUG#35515 Aliases of variables in binary log are ignored with NAME_CONST.
> When add an aliase name after NAME_CONST, the aliase name will be overwrite.
> NAME_CONST will set the field's name to aliase name if there is an aliase.
This statement is not correct according to your patch, what your patch
does is that:
NAME_CONST does not set the field's name if there is already an alias
or you can say:
NAME_CONST only sets the field's name if there is not an alias.
> +drop database if exists testdb;
> +create database testdb;
Please use the default database instead.