Bug #99721 | The syntax of creating procedure is not compatible with the old version (8.0.16) | ||
---|---|---|---|
Submitted: | 28 May 2020 11:10 | Modified: | 28 May 2020 12:55 |
Reporter: | lyp tennyson | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Parser | Severity: | S3 (Non-critical) |
Version: | 8.0.18 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[28 May 2020 11:10]
lyp tennyson
[28 May 2020 12:27]
MySQL Verification Team
Hi Mr. tennyson, Thank you for your bug report. However, this is not a bug. I had no problem whatsoever in using your code to create a procedure, with mysql-8.0.20. You probably had tabs or other characters in the new line, or this is already problem that is fixed. Here is the output: mysql> delimiter ## mysql> CREATE PROCEDURE proc(OUT result varchar(50)) -> BEGIN -> SELECT COUNT(a.id) INTO result FROM member a LEFT JOIN organizations org ON a.xx = org.yy WHERE a.count >= 0; -> END ## Query OK, 0 rows affected (0.07 sec) mysql> mysql> delimiter ; Not a bug.
[28 May 2020 12:55]
lyp tennyson
I have tried the DDL again on the latest version. Yes, it works OK on 8.0.20. THX~
[28 May 2020 13:22]
MySQL Verification Team
You are welcome.