diff --git a/ChangeLog b/ChangeLog index 9f2329143..242396612 100755 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,9 @@ phpMyAdmin - Changelog $Id$ $Source$ +2005-07-02 Marc Delisle + * db_operations.php: bug #1230224, db rename and old pmadb information + 2005-07-01 Marc Delisle * Documentation.html: patch #1229673, improvement to big-file-import instructions, thanks to Isaac Bennetch - ibennetch diff --git a/db_operations.php b/db_operations.php index 7c007a33b..c59984964 100644 --- a/db_operations.php +++ b/db_operations.php @@ -75,6 +75,10 @@ if (isset($db) && } if ($move) { + // cleanup pmadb stuff for this db + require_once('./libraries/relation_cleanup.lib.php'); + PMA_relationsCleanupDatabase($db); + $local_query = 'DROP DATABASE ' . PMA_backquote($db) . ';'; $sql_query .= "\n" . $local_query; PMA_DBI_query($local_query);