I have mysql master-slave 4.1.8 setup. I am having problem with the using session
variables in SQL expressions. For example, the following won't be replicated on the
slave:
set @testvar='somevalue';
delete from testtable where id=@testvar;
Is it correct behavior or I need to change some settings to make it work? Anybody had the
same problem?
Thanks!
Attention:
Any views expressed in this message are those of the individual sender, except where the
message states otherwise and the sender is authorized to state them to be the views of
any such entity. The information contained in this message and or attachments is intended
only for the person or entity to which it is addressed and may contain confidential and/or
privileged material. If you received this in error, please contact the sender and delete
the material from any system and destroy any copies.