Manual merge of the fix for BUG#4285 from 4.1

sql/sql_show.cc:
  removed sql_key_cache
This commit is contained in:
unknown 2005-01-21 17:41:11 +02:00
parent 888ee151b5
commit da931f9d67

View file

@ -1512,7 +1512,7 @@ static bool show_status_array(THD *thd, const char *wild,
#endif /* HAVE_OPENSSL */
case SHOW_KEY_CACHE_LONG:
case SHOW_KEY_CACHE_CONST_LONG:
value= (value-(char*) &dflt_key_cache_var)+ (char*) sql_key_cache;
value= (value-(char*) &dflt_key_cache_var)+ (char*) dflt_key_cache;
end= int10_to_str(*(long*) value, buff, 10);
break;
case SHOW_UNDEF: // Show never happen