mirror of
https://github.com/vrana/adminer.git
synced 2025-08-09 08:06:59 +02:00
Foreign key may not be unique
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@1130 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -89,7 +89,7 @@ ORDER BY ORDINAL_POSITION"); //! requires MySQL 5
|
|||||||
// find all used ids
|
// find all used ids
|
||||||
$ids = array();
|
$ids = array();
|
||||||
foreach ($rows as $row) {
|
foreach ($rows as $row) {
|
||||||
$ids[$row[$key]] = $connection->quote($row[$key]);
|
$ids[$row[$key]] = "BINARY " . $connection->quote($row[$key]);
|
||||||
}
|
}
|
||||||
// uses constant number of queries to get the descriptions, join would be complex, multiple queries would be slow
|
// uses constant number of queries to get the descriptions, join would be complex, multiple queries would be slow
|
||||||
$descriptions = array();
|
$descriptions = array();
|
||||||
|
Reference in New Issue
Block a user