add size for head table support
This commit is contained in:
@@ -133,7 +133,7 @@ else if (MYSQL_MAJOR_VERSION >= 3.23 && isset($tbl_cache)) {
|
||||
$nonisam=false;
|
||||
if (isset($sts_data['Type'])) {
|
||||
if ($sts_data['Type']=="MRG_MyISAM") $mergetable=true;
|
||||
else if (!eregi("ISAM", $sts_data['Type'])) $nonisam=true;
|
||||
else if (!eregi("ISAM|HEAP", $sts_data['Type'])) $nonisam=true;
|
||||
}
|
||||
|
||||
if (isset($sts_data['Rows']))
|
||||
|
@@ -267,7 +267,7 @@ if ($index_count > 0) {
|
||||
<?php
|
||||
// BEGIN - Calc Table Space - staybyte - 9 June 2001
|
||||
$nonisam=false;
|
||||
if (!eregi("ISAM", $showtable['Type'])) $nonisam=true;
|
||||
if (!eregi("ISAM|HEAP", $showtable['Type'])) $nonisam=true;
|
||||
if (MYSQL_MAJOR_VERSION >= 3.23 && intval(MYSQL_MINOR_VERSION) > 3 && $nonisam==false && isset($showtable)) {
|
||||
// Gets some sizes
|
||||
$mergetable=false;
|
||||
|
Reference in New Issue
Block a user