diff --git a/adminer/drivers/mysql.inc.php b/adminer/drivers/mysql.inc.php index 890a6aaa..136e8851 100644 --- a/adminer/drivers/mysql.inc.php +++ b/adminer/drivers/mysql.inc.php @@ -1061,7 +1061,7 @@ if (!defined("DRIVER")) { } $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", "SQL"); ///< @var array operators used in select - $functions = array("char_length", "date", "from_unixtime", "lower", "round", "sec_to_time", "time_to_sec", "upper"); ///< @var array functions used in select + $functions = array("char_length", "date", "from_unixtime", "lower", "round", "floor", "ceil", "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( diff --git a/changes.txt b/changes.txt index 44ab86a6..78645a07 100644 --- a/changes.txt +++ b/changes.txt @@ -6,6 +6,7 @@ Stop redirecting links via adminer.org Support X-Forwarded-Prefix Display options for timestamp columns when creating a new table MySQL, PostgreSQL: Display warnings +MySQL: Add floor and ceil functions MariaDB: Support JSON since MariaDB 10.2 PostgreSQL: Support functions PostgreSQL: Allow editing views with uppercase letters (bug #467)