Skip to content

Commit

Permalink
bug #4186 Adding a column when creating a table does not propagate in…
Browse files Browse the repository at this point in the history
…dex info

Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Dec 15, 2013
1 parent f18e061 commit cc58ebe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ phpMyAdmin - ChangeLog
- bug #4181 Adding columns in table creation clears existing columns
- bug #4023 Requires wildcard EXECUTE/ALTER ROUTINE on DB to allow
Procedures to be executed by user
- bug #4186 Adding a column when creating a table does not propagate index info

4.1.0.0 (2013-12-11)
+ rfe #499 On user creation, warn if the user already exists
Expand Down
2 changes: 1 addition & 1 deletion libraries/tbl_columns_definition_form.lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ function PMA_getRowDataForRegeneration($columnNumber, $submit_fulltext)

$columnMeta['Key'] = '';
if (isset($_REQUEST['field_key'][$columnNumber])) {
$parts = explode($_REQUEST['field_key'][$columnNumber], '_', 2);
$parts = explode('_', $_REQUEST['field_key'][$columnNumber], 2);
if (count($parts) == 2 && $parts[1] == $columnNumber) {
switch ($parts[0]) {
case 'primary':
Expand Down

0 comments on commit cc58ebe

Please sign in to comment.