diff --git a/ChangeLog b/ChangeLog index 1e2fcc68d..ac7295c4d 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog $Id$ $Source$ +2006-10-14 Marc Delisle + * libraries/Table.class.php: bug #1567316, renaming a db containing view + (but still some work to ensure proper sequence of renaming) + 2006-10-13 Marc Delisle * css/phpmyadmin.css.php: bug #1517428, some IE 6 versions have problems loading CSS when zlip.output_compression is on, diff --git a/libraries/Table.class.php b/libraries/Table.class.php index 1a5af8a14..6fc9e60f7 100644 --- a/libraries/Table.class.php +++ b/libraries/Table.class.php @@ -667,7 +667,7 @@ class PMA_Table { // moving table from replicated one to not replicated one PMA_DBI_select_db($source_db); - if (PMA_Table::_isView($source_db,$source)) { + if (PMA_Table::_isView($source_db,$source_table)) { $sql_drop_query = 'DROP VIEW'; } else { $sql_drop_query = 'DROP TABLE';