showtable undefined after table creation
This commit is contained in:
@@ -586,6 +586,10 @@ echo '<div id="tablestatistics">' . "\n";
|
|||||||
// Joshua Nye <josh at boxcarmedia.com> to get valid
|
// Joshua Nye <josh at boxcarmedia.com> to get valid
|
||||||
// statistics whatever is the table type
|
// statistics whatever is the table type
|
||||||
if ($cfg['ShowStats']) {
|
if ($cfg['ShowStats']) {
|
||||||
|
if (empty($showtable)) {
|
||||||
|
$showtable = PMA_Table::sGetStatusInfo($GLOBALS['db'], $GLOBALS['table'], null, true);
|
||||||
|
}
|
||||||
|
|
||||||
$nonisam = false;
|
$nonisam = false;
|
||||||
$is_innodb = (isset($showtable['Type']) && $showtable['Type'] == 'InnoDB');
|
$is_innodb = (isset($showtable['Type']) && $showtable['Type'] == 'InnoDB');
|
||||||
if (isset($showtable['Type']) && !preg_match('@ISAM|HEAP@i', $showtable['Type'])) {
|
if (isset($showtable['Type']) && !preg_match('@ISAM|HEAP@i', $showtable['Type'])) {
|
||||||
|
Reference in New Issue
Block a user