fix test and add alias to FROM_UNIXTIME

This commit is contained in:
Amos Bird 2020-08-09 00:24:43 +08:00
parent d9de96716a
commit ba204fe3b2
No known key found for this signature in database
GPG Key ID: 80D430DCBECFEDB4
2 changed files with 2 additions and 1 deletions

View File

@ -718,6 +718,7 @@ void registerFunctionFormatDateTime(FunctionFactory & factory)
{
factory.registerFunction<FunctionFormatDateTime>();
factory.registerFunction<FunctionFROM_UNIXTIME>();
factory.registerAlias("fromUnixTimestamp", "FROM_UNIXTIME");
}
}

View File

@ -1,6 +1,6 @@
1970-01-01 00:02:03
1973-11-29 21:33:09
2038-07-12 01:15:36
2106-02-07 06:28:15
19
11
1970-01-15