mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge bk-internal.mysql.com:/home/bk/mysql-4.0
into narttu.mysql.fi:/my/mysql-4.0 sql/sql_parse.cc: Auto merged
This commit is contained in:
@ -2146,11 +2146,12 @@ mysql_execute_command(void)
|
||||
break;
|
||||
case SQLCOM_SHOW_STATUS:
|
||||
res= mysqld_show(thd,(lex->wild ? lex->wild->ptr() : NullS),status_vars,
|
||||
OPT_GLOBAL);
|
||||
OPT_GLOBAL, &LOCK_status);
|
||||
break;
|
||||
case SQLCOM_SHOW_VARIABLES:
|
||||
res= mysqld_show(thd, (lex->wild ? lex->wild->ptr() : NullS),
|
||||
init_vars, lex->option_type);
|
||||
init_vars, lex->option_type,
|
||||
&LOCK_global_system_variables);
|
||||
break;
|
||||
case SQLCOM_SHOW_LOGS:
|
||||
{
|
||||
|
Reference in New Issue
Block a user