Bug #10057 | The Synonym for 'Use' ( \u ) can be used in stored procedures. | ||
---|---|---|---|
Submitted: | 21 Apr 2005 10:05 | Modified: | 25 Apr 2005 21:25 |
Reporter: | Disha | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0.4 Beta-standard | OS: | Linux (RedHat Linux 9.0) |
Assigned to: | CPU Architecture: | Any |
[21 Apr 2005 10:05]
Disha
[21 Apr 2005 14:41]
Jorge del Conde
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Hi This is with a recent 5.0.5 bk pull: mysql> Create procedure sp1 () -> Begin -> \u test1 Database changed -> End// Query OK, 0 rows affected (0.02 sec)
[25 Apr 2005 21:25]
Sergei Golubchik
It's not a bug. \u is not a part of the SQL as MySQL implements it. It is a command of 'mysql' - command line client, just as \?, \p, \e, \g, etc. So, you simply create a procedure with an empty body.