[MDEV-27906] CREATE TABLE/DATABASE .. CHARSET .. COLLATE is not consistent on errors Created: 2022-02-21 Updated: 2022-06-15 Resolved: 2022-06-07 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Character Sets, Parser |
| Affects Version/s: | 10.2, 10.3, 10.4, 10.5, 10.6, 10.7, 10.8, 10.9 |
| Fix Version/s: | 10.9.2 |
| Type: | Bug | Priority: | Major |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
Table and database level CHARACTER SET and COLLATE clauses can go in any order. So both these syntaxes are correct:
But they can produce errors differently:
The same problem is repeatable on the database level:
|