bug 876805

This commit is contained in:
Marc Delisle
2004-01-14 14:26:32 +00:00
parent 1caf7a9335
commit fdfe0d745a
2 changed files with 6 additions and 1 deletions

View File

@@ -5,6 +5,11 @@ phpMyAdmin - Changelog
$Id$
$Source$
2004-01-14 Marc Delisle <lem9@users.sourceforge.net>
* mult_submits.inc.php: bug 876805, dropping a field with the
multi-submit mechanism removes all internal relations of a table,
patch thanks to Joosep-Georg J<>rvemaa (j-georg)
2004-01-13 Robin Johnson <robbat2@users.sourceforge.net>
* Documentation.html: Slight update to what I've done

View File

@@ -234,7 +234,7 @@ else if ($mult_btn == $strYes) {
break;
case 'drop_fld':
PMA_relationsCleanupTable($db, $table, $selected[$i]);
PMA_relationsCleanupColumn($db, $table, $selected[$i]);
$sql_query .= (empty($sql_query) ? 'ALTER TABLE ' . PMA_backquote($table) : ',')
. ' DROP ' . PMA_backquote(urldecode($selected[$i]))
. (($i == $selected_cnt-1) ? ';' : '');