show function status
This commit is contained in:
		| @ -1958,6 +1958,7 @@ int ObShowResolver::resolve_like_or_where_clause(ObShowResolverContext &ctx) | ||||
|                  && parse_tree->type_ != T_SHOW_STATUS | ||||
|                  && parse_tree->type_ != T_SHOW_TABLEGROUPS | ||||
|                  && parse_tree->type_ != T_SHOW_PROCEDURE_STATUS | ||||
|                  && parse_tree->type_ != T_SHOW_FUNCTION_STATUS | ||||
|                  && parse_tree->type_ != T_SHOW_TRIGGERS)) { | ||||
|     // do nothing | ||||
|   } else { | ||||
| @ -2691,7 +2692,7 @@ DEFINE_SHOW_CLAUSE_SET(SHOW_TABLE_STATUS, | ||||
|                        "name"); | ||||
| DEFINE_SHOW_CLAUSE_SET(SHOW_PROCEDURE_STATUS, | ||||
|                        NULL, | ||||
|                        "select database_name AS `Db`, routine_name AS `Name`, c.type AS `Type`, c.definer AS `Definer`, p.gmt_modified AS `Modified`, p.gmt_create AS `Created`,'DEFINER' AS `Security_type`, p.comment AS `Comment`, character_set_client, collation_connection, collation_database AS `Database Collation`from %s.%s p, %s.%s d, %s.%s c where p.tenant_id = d.tenant_id and p.database_id = d.database_id and d.database_name = c.db and p.routine_name = c.name and (case c.type when 'PROCEDURE' then 1 else 0 end) = p.routine_type and d.database_id = %ld and p.routine_type = %ld ORDER BY name COLLATE utf8mb4_bin ASC", | ||||
|                        "select database_name AS `Db`, routine_name AS `Name`, c.type AS `Type`, c.definer AS `Definer`, p.gmt_modified AS `Modified`, p.gmt_create AS `Created`,'DEFINER' AS `Security_type`, p.comment AS `Comment`, character_set_client, collation_connection, collation_database AS `Database Collation`from %s.%s p, %s.%s d, %s.%s c where p.tenant_id = d.tenant_id and p.database_id = d.database_id and d.database_name = c.db and p.routine_name = c.name and (case c.type when 'PROCEDURE' then 1 when 'FUNCTION' then 2 else 0 end) = p.routine_type and d.database_id = %ld and p.routine_type = %ld ORDER BY name COLLATE utf8mb4_bin ASC", | ||||
|                        NULL, | ||||
|                        "name"); | ||||
| DEFINE_SHOW_CLAUSE_SET(SHOW_TRIGGERS, | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 obdev
					obdev