bug 1388048, constraints copied too early when copying a db

This commit is contained in:
Marc Delisle
2006-07-04 16:46:09 +00:00
parent 029a63a1f5
commit e79079b0c4
4 changed files with 36 additions and 10 deletions

View File

@@ -30,7 +30,7 @@ if (isset($new_name) && trim($new_name) != '') {
if ($db == $target_db && $table == $new_name) {
$message = (isset($submit_move) ? $strMoveTableSameNames : $strCopyTableSameNames);
} else {
PMA_Table::moveCopy($db, $table, $target_db, $new_name, $what, isset($submit_move));
PMA_Table::moveCopy($db, $table, $target_db, $new_name, $what, isset($submit_move), 'one_table');
$js_to_run = 'functions.js';
$message = (isset($submit_move) ? $strMoveTableOK : $strCopyTableOK);
$message = sprintf($message, htmlspecialchars($table), htmlspecialchars($new_name));