diff --git a/libraries/database_interface.lib.php b/libraries/database_interface.lib.php index cdcb4e8dd..e5f248d5d 100644 --- a/libraries/database_interface.lib.php +++ b/libraries/database_interface.lib.php @@ -437,7 +437,8 @@ function PMA_DBI_get_tables_full($database, $table = false, $tbl_is_group = fals $each_tables[$table_name]['CREATE_OPTIONS'] =& $each_tables[$table_name]['Create_options']; $each_tables[$table_name]['TABLE_COMMENT'] =& $each_tables[$table_name]['Comment']; - if (strtoupper($each_tables[$table_name]['Comment']) === 'VIEW') { + if (strtoupper($each_tables[$table_name]['Comment']) === 'VIEW' + && $each_tables[$table_name]['Engine'] == NULL) { $each_tables[$table_name]['TABLE_TYPE'] = 'VIEW'; } else { /**