From 3d254a33d0080479a2beea7815cda0c87be53ac2 Mon Sep 17 00:00:00 2001 From: jakubvrana Date: Sun, 15 Jul 2007 10:56:40 +0000 Subject: [PATCH] TODO git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@176 7c3ca157-0c34-0410-bff1-cbf682f78f5c --- select.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/select.inc.php b/select.inc.php index 32dddc61..87d87f51 100644 --- a/select.inc.php +++ b/select.inc.php @@ -11,6 +11,7 @@ foreach ($fields as $key => $field) { } if (isset($rights["insert"])) { + //! pass search values forth and back echo '

' . lang('New item') . "

\n"; } @@ -118,6 +119,7 @@ for (var i=0; > 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");