mirror of
https://github.com/django/django.git
synced 2024-12-01 15:42:04 +01:00
Refs #31331 -- Checked ONLY_FULL_GROUP_BY mode in AggregateTestCase.test_aggregation_subquery_annotation_multivalued().
This commit is contained in:
parent
a19505eb2e
commit
aee0bebc2f
@ -1193,7 +1193,7 @@ class AggregateTestCase(TestCase):
|
|||||||
|
|
||||||
@skipUnlessDBFeature('supports_subqueries_in_group_by')
|
@skipUnlessDBFeature('supports_subqueries_in_group_by')
|
||||||
@skipIf(
|
@skipIf(
|
||||||
connection.vendor == 'mysql',
|
connection.vendor == 'mysql' and 'ONLY_FULL_GROUP_BY' in connection.sql_mode,
|
||||||
'GROUP BY optimization does not work properly when ONLY_FULL_GROUP_BY '
|
'GROUP BY optimization does not work properly when ONLY_FULL_GROUP_BY '
|
||||||
'mode is enabled on MySQL, see #31331.',
|
'mode is enabled on MySQL, see #31331.',
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user