Applied innodb-5.0-ss2223 snapshot

Fixes:

Bug #32083: server crashes on show status when InnoDB is not initialized
  innodb_export_status(): Check that InnoDB has been initialized
  before invoking srv_export_innodb_status().  (Bug #32083)
  This bug does not exist in MySQL/InnoDB 5.1.
parent f8ade5e9
...@@ -6339,7 +6339,9 @@ void ...@@ -6339,7 +6339,9 @@ void
innodb_export_status(void) innodb_export_status(void)
/*======================*/ /*======================*/
{ {
srv_export_innodb_status(); if (innodb_inited) {
srv_export_innodb_status();
}
} }
/**************************************************************************** /****************************************************************************
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment