diff --git a/ChangeLog b/ChangeLog index d6990feeb9..f811b28eec 100644 --- a/ChangeLog +++ b/ChangeLog @@ -34,6 +34,7 @@ phpMyAdmin - ChangeLog - issue #11522 Strange behavior on table rename - issue #11539 Rename table does not result in refresh in left panel - issue #11541 Missing arguments for PMA_Table::generateAlter() +- issue #11544 Notices about undefined indexes on structure pages of information_schema tables 4.5.0.2 (2015-09-25) - issue #11497 Incorrect indexes when exporting diff --git a/libraries/controllers/TableStructureController.class.php b/libraries/controllers/TableStructureController.class.php index 4986230627..4b0ef37c91 100644 --- a/libraries/controllers/TableStructureController.class.php +++ b/libraries/controllers/TableStructureController.class.php @@ -318,6 +318,7 @@ class TableStructureController extends TableController $db = &$this->db; $table = &$this->table; include_once 'libraries/tbl_common.inc.php'; + $this->_db_is_system_schema = $db_is_system_schema; $this->_url_query = $url_query . '&goto=tbl_structure.php&back=tbl_structure.php'; $url_params['goto'] = 'tbl_structure.php'; @@ -1201,7 +1202,7 @@ class TableStructureController extends TableController /** * Work on the table */ - if ($this->_tbl_is_view) { + if ($this->_tbl_is_view && ! $this->_db_is_system_schema) { $item = $this->dbi->fetchSingleRow( sprintf( "SELECT `VIEW_DEFINITION`, `CHECK_OPTION`, `DEFINER`, diff --git a/templates/table/structure/display_structure.phtml b/templates/table/structure/display_structure.phtml index da5ae08924..c2571849e4 100644 --- a/templates/table/structure/display_structure.phtml +++ b/templates/table/structure/display_structure.phtml @@ -134,7 +134,7 @@ render(); ?>