[MDEV-6558] Malformed strings are accepted as column names when SET NAMES binary Created: 2014-08-11 Updated: 2022-09-08 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 5.5.39, 10.0.13 |
| Fix Version/s: | 5.5 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexander Barkov | Assignee: | Alexander Barkov |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
Run an new iso-8859-1 terminal window. Execute this command:
Now run a new UTF8 terminal window. Execute this command:
The output is incorrect:
Notice, the column name after 'aaa' has replacement characters, The desired behavior would be to report an error at CREATE TABLE, |