× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
tariqrahiman reported 2013-08-09T20:57:19Z  · last modified 2013-08-12T17:40:11Z

Changing the MySQL SQL Server mode to ONLY_FULL_GROUP_BY gives exception in the Storage Manager


customer request
Priority Low
Complexity Unknown
Component DBA-T - MySQL - Storage Mngr
Version 12.0

 

Product: Aqua Data Studio
Version: 12.0.19
Build #: 31896
Build Date: 2013-Apr-11 08:07:34 AM

 

Changing the MySQL SQL Server mode to ONLY_FULL_GROUP_BY gives exception in the Storage Manager

To reproduce, execute the below query in a MySQL Server and then open up Storage Manager Database and Objects Tab

 

SET global sql_mode='ONLY_FULL_GROUP_BY'

go

 

select

        s.SCHEMA_NAME,

        s.DEFAULT_CHARACTER_SET_NAME,

        s.DEFAULT_COLLATION_NAME,

        IFNULL(SUM(t.data_length)+SUM(t.index_length),0.00) total_size 

from

        information_schema.schemata s 

                LEFT JOIN INFORMATION_SCHEMA.TABLES

                ON s.schema_name = t.table_schema 

GROUP BY

        s.schema_name

GO

 

//  'information_schema.s.DEFAULT_CHARACTER_SET_NAME' isn't in GROUP BY

 

select

        s.SCHEMA_NAME,

        s.DEFAULT_CHARACTER_SET_NAME,

        s.DEFAULT_COLLATION_NAME,

        IFNULL(SUM(t.data_length)+SUM(t.index_length),0.00) total_size 

from

        information_schema.schemata s 

                LEFT JOIN INFORMATION_SCHEMA.TABLES

                ON s.schema_name = t.table_schema 

GROUP BY

        s.schema_name,

        s.DEFAULT_CHARACTER_SET_NAME,

        s.DEFAULT_COLLATION_NAME

GO

 

 

 

1 attachment

Issue #9748

Closed
Fixed
Resolved 2013-08-12T16:29:41Z
 
 
Completion
No due date
Fixed Build v12.0.22-3
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017