[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:
Blocks
is blocked by MDEV-11588 Support for ONLY_FULL_GROUP_BY functi... Stalled

 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 ]

is this a deliberate difference with MySQL or an oversight?

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.
The main complexity is not to enable the flag but to make this mode work as expected. The old naïve implementation was not good enough to have it enabled as a part of ANSI.

Doing this is MariaDB is part of MDEV-11588

Generated at Thu Feb 08 09:58:08 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.