undefined index (innodb)

This commit is contained in:
Marc Delisle
2002-08-21 13:03:22 +00:00
parent 0db2a7765a
commit a06a9eda0e
2 changed files with 3 additions and 1 deletions

View File

@@ -9,6 +9,8 @@ $Source$
* db_details.php3, read_dump.php3, libraries/functions.js, lang/*,
config.inc.php3, Documentation.html: web-based upload directory,
thanks to S<>nke J. Peters (s03nk3)
* tbl_properties_structure.php3: undefined index for innodb,
thanks to Lo<4C>c
2002-08-21 Alexander M. Turek <rabus@users.sourceforge.net>
* Documentation.html: Updated FAQ 1.6.

View File

@@ -295,7 +295,7 @@ require ('./tbl_indexes.php3');
// statistics whatever is the table type
if ($cfg['ShowStats']) {
$nonisam = FALSE;
$is_innodb = ($showtable['Type'] == 'InnoDB');
$is_innodb = (isset($showtable['Type']) && $showtable['Type'] == 'InnoDB');
if (isset($showtable['Type']) && !eregi('ISAM|HEAP', $showtable['Type'])) {
$nonisam = TRUE;
}