Bug #2763 | load procedure from file | ||
---|---|---|---|
Submitted: | 12 Feb 2004 20:31 | Modified: | 3 May 2004 11:49 |
Reporter: | Steven Szelei | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S1 (Critical) |
Version: | 4.1 | OS: | Windows (Windows 2000 Adv Svr) |
Assigned to: | Jani Tolonen | CPU Architecture: | Any |
[12 Feb 2004 20:31]
Steven Szelei
[17 Feb 2004 18:57]
MySQL Verification Team
I was only able to repeat the behavior reported when to try the command mentioned without to select a database and after this: mysql> show databases; -> show databases; -> show databases; -> Thanks you for the bug report.
[6 Apr 2004 8:12]
Per-Erik Martin
This is a bug in the command line client mysql. When using the command "delimiter" without the current delimiter, i.e. just "delimiter $" instead of "delimiter $;", the delimiter gets set to something else when reading from a file. It is then not reset properly due to syntax errors in the file. (The given example file will not work, as it is not SQL-99/2003 syntax.) A workaround is to always properly delimit the "delimiter" command in source files.
[6 Apr 2004 8:22]
Per-Erik Martin
N.B. fix in 4.1.
[3 May 2004 11:49]
Michael Widenius
According to bugs comment, it should be ok to close this bug now.