bug #1230224, db rename and old pmadb information

This commit is contained in:
Marc Delisle
2005-07-02 12:15:59 +00:00
parent 0f49f78aa6
commit 9b1abcc555
2 changed files with 7 additions and 0 deletions

View File

@@ -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);