[adminer-svn] SF.net SVN: adminer:[1506] trunk/adminer/drivers/mysql.inc.php
Database management in a single PHP file
Brought to you by:
jakubvrana
From: <jak...@us...> - 2010-04-27 15:57:21
|
Revision: 1506 http://adminer.svn.sourceforge.net/adminer/?rev=1506&view=rev Author: jakubvrana Date: 2010-04-27 15:57:15 +0000 (Tue, 27 Apr 2010) Log Message: ----------- Add date function in select (thanks to paranoiq) Modified Paths: -------------- trunk/adminer/drivers/mysql.inc.php Modified: trunk/adminer/drivers/mysql.inc.php =================================================================== --- trunk/adminer/drivers/mysql.inc.php 2010-04-27 15:56:42 UTC (rev 1505) +++ trunk/adminer/drivers/mysql.inc.php 2010-04-27 15:57:15 UTC (rev 1506) @@ -768,7 +768,7 @@ } $unsigned = array("unsigned", "zerofill", "unsigned zerofill"); ///< @var array number variants $operators = array("=", "<", ">", "<=", ">=", "!=", "LIKE", "LIKE %%", "REGEXP", "IN", "IS NULL", "NOT LIKE", "NOT REGEXP", "NOT IN", "IS NOT NULL"); ///< @var array operators used in select - $functions = array("char_length", "from_unixtime", "hex", "lower", "round", "sec_to_time", "time_to_sec", "upper"); ///< @var array functions used in select + $functions = array("char_length", "date", "from_unixtime", "hex", "lower", "round", "sec_to_time", "time_to_sec", "upper"); ///< @var array functions used in select $grouping = array("avg", "count", "count distinct", "group_concat", "max", "min", "sum"); ///< @var array grouping functions used in select $edit_functions = array( ///< @var array of array("$type|$type2" => "$function/$function2") functions used in editing, [0] - edit and insert, [1] - edit only array( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |