bug #2568722 [designer] Compound key not shown
This commit is contained in:
@@ -45,6 +45,7 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
|||||||
if it contains less than MaxExactCountViews,
|
if it contains less than MaxExactCountViews,
|
||||||
thanks to Virsacer - virsacer
|
thanks to Virsacer - virsacer
|
||||||
+ [lang] Polish update, thanks to Fixer - fixeron
|
+ [lang] Polish update, thanks to Fixer - fixeron
|
||||||
|
- bug #2568722 [designer] Compound key not shown
|
||||||
|
|
||||||
3.1.2.0 (2009-01-19)
|
3.1.2.0 (2009-01-19)
|
||||||
- bug #1253252 [display] Can't NULL a column with relation defined
|
- bug #1253252 [display] Can't NULL a column with relation defined
|
||||||
|
@@ -218,11 +218,12 @@ function get_all_keys($unique_only = false)
|
|||||||
if ($unique_only && ! $index->isUnique()) {
|
if ($unique_only && ! $index->isUnique()) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
$column = key($index->getColumns());
|
$columns = $index->getColumns();
|
||||||
$keys[$schema . '.' .$table . '.' . $column] = 1;
|
foreach ($columns as $column_name => $dummy) {
|
||||||
|
$keys[$schema . '.' .$table . '.' . $column_name] = 1;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return $keys;
|
return $keys;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user