mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Merge with 4.0.13
This commit is contained in:
@ -923,7 +923,10 @@ mysqld_show_keys(THD *thd, TABLE_LIST *table_list)
|
||||
protocol->store((const char*) pos, system_charset_info);
|
||||
protocol->store(table->file->index_type(i), system_charset_info);
|
||||
/* Comment */
|
||||
protocol->store("", system_charset_info);
|
||||
if (!(table->keys_in_use & ((key_map) 1 << i)))
|
||||
protocol->store("disabled",8, system_charset_info);
|
||||
else
|
||||
protocol->store("", 0, system_charset_info);
|
||||
if (protocol->write())
|
||||
DBUG_RETURN(1); /* purecov: inspected */
|
||||
}
|
||||
@ -1591,6 +1594,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
|
||||
case SHOW_RPL_STATUS:
|
||||
end= strmov(buff, rpl_status_type[(int)rpl_status]);
|
||||
break;
|
||||
#ifdef HAVE_REPLICATION
|
||||
case SHOW_SLAVE_RUNNING:
|
||||
{
|
||||
LOCK_ACTIVE_MI;
|
||||
@ -1599,7 +1603,7 @@ int mysqld_show(THD *thd, const char *wild, show_var_st *variables,
|
||||
UNLOCK_ACTIVE_MI;
|
||||
break;
|
||||
}
|
||||
#endif /* EMBEDDED_LIBRARY */
|
||||
#endif /* HAVE_REPLICATION */
|
||||
case SHOW_OPENTABLES:
|
||||
end= int10_to_str((long) cached_tables(), buff, 10);
|
||||
break;
|
||||
|
Reference in New Issue
Block a user