bug #1567316, renaming a db containing a view
This commit is contained in:
@@ -5,6 +5,10 @@ phpMyAdmin - ChangeLog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2006-10-14 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
|
* 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 <lem9@users.sourceforge.net>
|
2006-10-13 Marc Delisle <lem9@users.sourceforge.net>
|
||||||
* css/phpmyadmin.css.php: bug #1517428, some IE 6 versions have
|
* css/phpmyadmin.css.php: bug #1517428, some IE 6 versions have
|
||||||
problems loading CSS when zlip.output_compression is on,
|
problems loading CSS when zlip.output_compression is on,
|
||||||
|
@@ -667,7 +667,7 @@ class PMA_Table {
|
|||||||
// moving table from replicated one to not replicated one
|
// moving table from replicated one to not replicated one
|
||||||
PMA_DBI_select_db($source_db);
|
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';
|
$sql_drop_query = 'DROP VIEW';
|
||||||
} else {
|
} else {
|
||||||
$sql_drop_query = 'DROP TABLE';
|
$sql_drop_query = 'DROP TABLE';
|
||||||
|
Reference in New Issue
Block a user