List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:October 7 1999 1:52pm
Subject:mysql monitor bug under NT (3.22.22) with \u
View as plain text  
>>>>> "greg" == greg webber <greg.webber@stripped> writes:

>> Description:
greg> After using \u dbname to change databases, the monitor doesn't seem
greg> to 'reset' its basic waiting for new command mode.  Instead, it
greg> thinks a command is still in the process of being entered, although it
greg> successfully changes databases and reports this.
greg> use dbname; seems to work, however.
>> How-To-Repeat:
greg> create database temp;
greg> \u temp<CR>
greg> system reports 'Database changed' but returns the '->' prompt,
greg> indicating that it expects more.
greg> The next command entered will generate a syntax error, regardless of
greg> its correctness.
>> Fix:
greg> To work around the problem, either use the 'use dbname;' syntax,
greg> or after entering '\u dbname<CR>' enter a colon or \g or something else
greg> to force an 'end of command'.  This will produce a syntax error, but
greg> reset the monitor to accept new commands correctly (with the exception
greg> of another '\u dbname'...).


This is already fixed in the MySQL 3.22.27.

mysql monitor bug under NT (3.22.22) with \ugreg.webber7 Oct
  • mysql monitor bug under NT (3.22.22) with \uMichael Widenius7 Oct