TODO
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@176 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
parent
19b13ef9c2
commit
3d254a33d0
|
@ -11,6 +11,7 @@ foreach ($fields as $key => $field) {
|
|||
}
|
||||
|
||||
if (isset($rights["insert"])) {
|
||||
//! pass search values forth and back
|
||||
echo '<p><a href="' . htmlspecialchars($SELF) . 'edit=' . urlencode($_GET['select']) . '">' . lang('New item') . "</a></p>\n";
|
||||
}
|
||||
|
||||
|
@ -118,6 +119,7 @@ for (var i=0; <?php echo $i; ?> > i; i++) {
|
|||
}
|
||||
}
|
||||
$childs = array();
|
||||
//! possible slow-down, get only for InnoDB
|
||||
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");
|
||||
|
|
Loading…
Reference in a new issue