[MDEV-29561] SHOW CREATE TABLE produces syntactically incorrect structure Created: 2022-09-17 Updated: 2022-12-17 Resolved: 2022-09-21 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Parser |
| Affects Version/s: | N/A |
| Fix Version/s: | 10.3.37, 10.4.27, 10.5.18, 10.6.11, 10.7.7, 10.8.6, 10.9.4, 10.10.2, 10.11.0 |
| Type: | Bug | Priority: | Blocker |
| Reporter: | Elena Stepanova | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | regression | ||
| Issue Links: |
|
||||||||
| Description |
|
Set affected versions to 10.3-10.5 because the commit hasn't been merged up yet.
The failure started happening after this commit in 10.3:
|
| Comments |
| Comment by Alexander Barkov [ 2022-09-18 ] | |||||||||||||
|
This script:
also produces a syntactically bad output:
| |||||||||||||
| Comment by Alexander Barkov [ 2022-09-18 ] | |||||||||||||
|
So does this:
| |||||||||||||
| Comment by Alexander Barkov [ 2022-09-20 ] | |||||||||||||
|
So does this:
Notice, the erroneous syntax gets written to mysql.proc, so SHOW CREATE FUNCTION can't parse the syntax and returns an error. |