mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Two separate commands: SHOW COLLATION and SHOW CHARACTER SET
This commit is contained in:
@@ -2566,6 +2566,9 @@ mysql_execute_command(THD *thd)
|
||||
case SQLCOM_SHOW_CHARSETS:
|
||||
res= mysqld_show_charsets(thd,(lex->wild ? lex->wild->ptr() : NullS));
|
||||
break;
|
||||
case SQLCOM_SHOW_COLLATIONS:
|
||||
res= mysqld_show_collations(thd,(lex->wild ? lex->wild->ptr() : NullS));
|
||||
break;
|
||||
case SQLCOM_SHOW_FIELDS:
|
||||
#ifdef DONT_ALLOW_SHOW_COMMANDS
|
||||
send_error(thd,ER_NOT_ALLOWED_COMMAND); /* purecov: inspected */
|
||||
|
Reference in New Issue
Block a user