bug #1774825 Rename database loses charset info

This commit is contained in:
Marc Delisle
2007-09-10 17:08:32 +00:00
parent 0bf6ccee1d
commit 63d4e4ef69
2 changed files with 7 additions and 0 deletions

View File

@@ -255,6 +255,12 @@ if (!$is_information_schema) {
?>
<form method="post" action="db_operations.php"
onsubmit="return emptyFormElements(this, 'newname')">
<?php
if (isset($db_collation)) {
echo '<input type="hidden" name="db_collation" value="' . $db_collation
.'" />' . "\n";
}
?>
<input type="hidden" name="what" value="data" />
<input type="hidden" name="db_rename" value="true" />
<?php echo PMA_generate_common_hidden_inputs($db); ?>