add size for head table support

This commit is contained in:
Steve Alberty
2001-08-03 18:14:16 +00:00
parent e79af90f65
commit 085d9919b5
2 changed files with 2 additions and 2 deletions

View File

@@ -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']))

View File

@@ -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;