diff options
Diffstat (limited to 'lib/sqlalchemy/databases/mysql.py')
-rw-r--r-- | lib/sqlalchemy/databases/mysql.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/sqlalchemy/databases/mysql.py b/lib/sqlalchemy/databases/mysql.py index 729e1ad45..9058df926 100644 --- a/lib/sqlalchemy/databases/mysql.py +++ b/lib/sqlalchemy/databases/mysql.py @@ -1948,7 +1948,8 @@ class MySQLCompiler(compiler.DefaultCompiler): }) functions = compiler.DefaultCompiler.functions.copy() functions.update ({ - sql_functions.random: 'rand%(expr)s' + sql_functions.random: 'rand%(expr)s', + "utc_timestamp":"UTC_TIMESTAMP" }) |