Bug #10346 Problem with delimiter \\
| Submitted: | 3 May 2005 19:16 | Modified: | 24 May 2005 18:51 |
|---|---|---|---|
| Reporter: | Guillaume Lebur | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Documentation | Severity: | S2 (Serious) |
| Version: | 5.0.4-beta-nt | OS: | Windows (Windows XP SP2) |
| Assigned to: | Paul DuBois | CPU Architecture: | Any |
[4 May 2005 0:31]
MySQL Verification Team
The backslash ('\') is the escape character for MySQL. I was unable for to
find in our Manual instructions for to avoid the use of \\ as delimiter.
[24 May 2005 18:49]
Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly, and will be included in the next release of the relevant product(s).
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.060 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.
Description: Stored procedure creation causes an error when the delimiter is \\ but not with other delimiters. Also, MySQL Query Browser accepts neither \\ nor any other delimiter (I'll submit another bug report for that). How to repeat: mysql> status -------------- mysql Ver 14.9 Distrib 5.0.4-beta, for Win32 (ia32) mysql> delimiter \\ mysql> create procedure tutoriel.test () -> BEGIN -> DECLARE a INT; -> SET a = 0; -> END\\ ERROR: Unknown command '\\'. -> \\ ERROR: Unknown command '\\'. -> Aborted ********************************************************** mysql> delimiter : mysql> create procedure tutoriel.TEST() -> BEGIN -> DECLARE a INT; -> SET a = 0; -> END: Query OK, 0 rows affected (0.00 sec)