]> git.joonet.de Git - adminer.git/commitdiff
Select specific variables
authorjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 7 Apr 2009 15:22:58 +0000 (15:22 +0000)
committerjakubvrana <jakubvrana@7c3ca157-0c34-0410-bff1-cbf682f78f5c>
Tue, 7 Apr 2009 15:22:58 +0000 (15:22 +0000)
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@575 7c3ca157-0c34-0410-bff1-cbf682f78f5c

index.php
select.inc.php

index 3aa3bc80b8f84ffaa803ed96438288fef1b889a8..2af28949fd4a07785ec0dd5fee4f25a9f244263d 100644 (file)
--- a/index.php
+++ b/index.php
@@ -74,8 +74,6 @@ if (isset($_GET["download"])) {
        $unsigned = array("", "unsigned", "zerofill", "unsigned zerofill");
        $enum_length = '\'(?:\'\'|[^\'\\\\]+|\\\\.)*\'|"(?:""|[^"\\\\]+|\\\\.)*"';
        $inout = array("IN", "OUT", "INOUT");
-       $functions = array("char_length", "from_unixtime", "hex", "lower", "round", "sec_to_time", "time_to_sec", "unix_timestamp", "upper");
-       $grouping = array("avg", "count", "distinct", "group_concat", "max", "min", "sum");
        $confirm = " onclick=\"return confirm('" . lang('Are you sure?') . "');\"";
        
        $error = "";
index 938e7fb17b36cb36ffd004021793cbbe39e30686..d82fa567153ec003194d9154e4461c158cd13c5e 100644 (file)
@@ -1,4 +1,6 @@
 <?php
+$functions = array("char_length", "from_unixtime", "hex", "lower", "round", "sec_to_time", "time_to_sec", "unix_timestamp", "upper");
+$grouping = array("avg", "count", "distinct", "group_concat", "max", "min", "sum");
 $table_status = table_status($_GET["select"]);
 $indexes = indexes($_GET["select"]);
 $operators = array("=", "<", ">", "<=", ">=", "!=", "LIKE", "REGEXP", "IN", "IS NULL", "NOT LIKE", "NOT REGEXP", "NOT IN", "IS NOT NULL");