Bug #1032 | store procedure with begin and end block does not work | ||
---|---|---|---|
Submitted: | 11 Aug 2003 11:02 | Modified: | 21 Aug 2003 7:05 |
Reporter: | Anthony Tam | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Solaris (Solaris) |
Assigned to: | Per-Erik Martin | CPU Architecture: | Any |
[11 Aug 2003 11:02]
Anthony Tam
[21 Aug 2003 7:05]
Per-Erik Martin
The test sp works for me (as do sp-error). The suggested "How to repeat" is not repeatable if one sets a different delimiter in the client (which is necessary with multi statement procedures; see sp.test). A popular choice is "|" (the command "delimiter |;"). The error shown in the "How to repeat" occurs when the default delimiter ";" is used.