Fix unique key detection in data dictionary
This commit is contained in:
parent
2e01d01b32
commit
53b29d25d2
@ -96,7 +96,7 @@ while ($row = PMA_DBI_fetch_row($rowset)) {
|
||||
$lastIndex = $row['Key_name'];
|
||||
}
|
||||
$indexes_info[$row['Key_name']]['Sequences'][] = $row['Seq_in_index'];
|
||||
$indexes_info[$row['Key_name']]['Non_unique'] = PMA_DRIZZLE ? $row['Unique'] : $row['Non_unique'];
|
||||
$indexes_info[$row['Key_name']]['Non_unique'] = $row['Non_unique'];
|
||||
if (isset($row['Cardinality'])) {
|
||||
$indexes_info[$row['Key_name']]['Cardinality'] = $row['Cardinality'];
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user