0) { $showtable = PMA_DBI_fetch_assoc($table_info_result); if (!isset($showtable['Type']) && isset($showtable['Engine'])) { $showtable['Type'] =& $showtable['Engine']; } // MySQL < 5.0.13 returns "view", >= 5.0.13 returns "VIEW" if (PMA_MYSQL_INT_VERSION >= 50000 && !isset($showtable['Type']) && isset($showtable['Comment']) && strtoupper($showtable['Comment']) == 'VIEW') { $tbl_is_view = TRUE; $tbl_type = $strView; $show_comment = NULL; } else { $tbl_is_view = FALSE; $tbl_type = isset($showtable['Type']) ? strtoupper($showtable['Type']) : ''; // a new comment could be coming from tbl_properties_operations.php // and we want to show it in the header if (isset($submitcomment) && isset($comment)) { $show_comment = $comment; } else { $show_comment = (isset($showtable['Comment']) ? $showtable['Comment'] : ''); } } $tbl_collation = empty($showtable['Collation']) ? '' : $showtable['Collation']; if ( NULL === $showtable['Rows'] ) { $showtable['Rows'] = PMA_countRecords( $GLOBALS['db'], $showtable['Name'], $return = true, $force_exact = true ); } $table_info_num_rows = (isset($showtable['Rows']) ? $showtable['Rows'] : 0); $auto_increment = (isset($showtable['Auto_increment']) ? $showtable['Auto_increment'] : ''); $tmp = isset($showtable['Create_options']) ? explode(' ', $showtable['Create_options']) : array(); $tmp_cnt = count($tmp); for ($i = 0; $i < $tmp_cnt; $i++) { $tmp1 = explode('=', $tmp[$i]); if (isset($tmp1[1])) { $$tmp1[0] = $tmp1[1]; } } // end for PMA_DBI_free_result($table_info_result); unset($tmp1, $tmp, $table_info_result); } // end if ?>