
select hex(c1), hex(c2) from t1;

connection master;
drop table t1;
--source include/sync_slave_sql_with_master.inc

#
#  BUG#6676: Derivation of variables must be correct on slave
#
connection master;
eval create table `t1` (
  `pk` varchar(10) not null default '', 
  primary key (`pk`)
) engine=$engine_type default charset=latin1;
set @p=_latin1 'test';
update t1 set pk='test' where pk=@p;
drop table t1;

# End of 4.1 tests
--source include/rpl_end.inc
