[MDEV-28109] ANSI Mode & ONLY_FULL_GROUP_BY Created: 2022-03-17 Updated: 2022-03-20 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major |
| Reporter: | Mark | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Description |
|
I can't say for sure whether this can be considered an actual bug. In MySQL, ANSI mode is equivalent to REAL_AS_FLOAT, PIPES_AS_CONCAT, ANSI_QUOTES, IGNORE_SPACE, ONLY_FULL_GROUP_BY. In MariaDB, ONLY_FULL_GROUP_BY doesn't appear to be included. I know it's not hard to include in the command, but is this a deliberate difference with MySQL or an oversight? |
| Comments |
| Comment by Elena Stepanova [ 2022-03-19 ] |
It is more of a difference between MySQL and MySQL. ONLY_FULL_GROUP_BY was added to ANSI alias in MySQL 5.7, it wasn't there before. |
| Comment by Mark [ 2022-03-19 ] |
|
Thanks. Is this the sort of thing worth adding as a feature request? |
| Comment by Sergei Golubchik [ 2022-03-20 ] |
|
Yes, but it's not that simple. In MySQL it happened in the scope of WL#2489. Doing this is MariaDB is part of MDEV-11588 |