nevereverever commented on issue #5277:
URL: https://github.com/apache/shardingsphere/issues/5277#issuecomment-618814334


   4.0.1 is Ok in navicat,but 5.0.0 throws error msg. @kimmking
   I found that these SQL are executed in ShardingProxy: 
   ```sql
   SELECT QUERY_ID, SUM(DURATION) AS SUM_DURATION FROM 
INFORMATION_SCHEMA.PROFILING GROUP BY QUERY_ID;
   ```
   
   ```sql
   SELECT action_order, event_object_table, trigger_name, event_manipulation, 
event_object_table, definer, action_statement, action_timing FROM 
information_schema.triggers WHERE BINARY event_object_schema = 'sharding_db' 
AND BINARY event_object_table = 'ns_card' ORDER BY event_object_table;
   ```
   
   ```sql
   SELECT DISTINCT ROUTINE_SCHEMA, ROUTINE_NAME, PARAMS.PARAMETER FROM 
information_schema.ROUTINES LEFT JOIN ( SELECT SPECIFIC_SCHEMA, SPECIFIC_NAME, 
GROUP_CONCAT(CONCAT(DATA_TYPE, ' ', PARAMETER_NAME) ORDER BY ORDINAL_POSITION 
SEPARATOR ', ') PARAMETER, ROUTINE_TYPE FROM information_schema.PARAMETERS 
GROUP BY SPECIFIC_SCHEMA, SPECIFIC_NAME, ROUTINE_TYPE ) PARAMS ON 
ROUTINES.ROUTINE_SCHEMA = PARAMS.SPECIFIC_SCHEMA AND ROUTINES.ROUTINE_NAME = 
PARAMS.SPECIFIC_NAME AND ROUTINES.ROUTINE_TYPE = PARAMS.ROUTINE_TYPE WHERE 
ROUTINE_SCHEMA = 'sharding_db' ORDER BY ROUTINE_SCHEMA;
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to