Bug #106273 `*` syntax incompatibility
| Submitted: | 25 Jan 2022 9:44 | Modified: | 25 Jan 2022 23:22 |
|---|---|---|---|
| Reporter: | lyp tennyson | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server: Parser | Severity: | S3 (Non-critical) |
| Version: | 8.0.27, 8.0.28, 5.7.37 | OS: | Linux |
| Assigned to: | CPU Architecture: | x86 | |
| Tags: | regression | ||
[25 Jan 2022 9:44]
lyp tennyson
[25 Jan 2022 11:04]
MySQL Verification Team
Hello lyp tennyson, Thank you for the report and test case. regards, Umesh
[25 Jan 2022 23:22]
Roy Lyseng
Posted by developer: This is not a bug. An asterisk enclosed in back ticks names a column with name given by the asterisk. Example: create table t(`*` int); insert into t values(1); select `*` from t; Earlier versions of MySQL allowed `*` to be treated similarly as the wild card for column expansion (a simple asterisk character), which is incompatible with the SQL standard.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.054 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.