Bug #39760 MySQL Query Browser does not display set user variables with select command.
Submitted: 30 Sep 2008 15:29 Modified: 30 Sep 2008 18:50
Reporter: [ name withheld ] Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Query Browser Severity:S2 (Serious)
Version:1.2.12 OS:Windows (Vista)
Assigned to: CPU Architecture:Any
Tags: select variables set MySQL Query Browser shows null

[30 Sep 2008 15:29] [ name withheld ]
Description:
1) Open MySQL Query Browser and login to any database.
2) Type and execute the following lines:

   set @v2=10;
   select @v2;

Notice that the displayed value of @v2 is null.

However the statement below does display the right value.
   select @v2:=10;

This problem does not happen with command line mysql.

How to repeat:
The bug is repeatable by just executing the above instructions.
[30 Sep 2008 18:50] Valeriy Kravchuk
Please do not submit the same bug more than once. An existing bug report, Bug #8304, already describes this very problem. Even if you feel that your issue is somewhat different, the resolution is likely to be the same. Because of this, we hope you add your comments to the original bug instead.

Thank you for your interest in MySQL.