diff --git a/select.inc.php b/select.inc.php index fbbe19f5..5b02cfe3 100644 --- a/select.inc.php +++ b/select.inc.php @@ -119,7 +119,7 @@ for (var i=0; > i; i++) { } } $childs = array(); - //! possible slow-down, get only for InnoDB + /* slow-down if ($mysql->server_info >= 5) { // would be possible in earlier versions too, but only by examining all tables (in all databases) $result1 = $mysql->query("SELECT * FROM information_schema.KEY_COLUMN_USAGE WHERE REFERENCED_TABLE_SCHEMA = '" . $mysql->escape_string($_GET["db"]) . "' AND REFERENCED_TABLE_NAME = '" . $mysql->escape_string($_GET["select"]) . "' ORDER BY ORDINAL_POSITION"); @@ -131,6 +131,7 @@ for (var i=0; > i; i++) { } $result1->free(); } + */ echo "\n"; for ($j=0; $row = $result->fetch_assoc(); $j++) {