Add base64Decode MySQL compatibility alias

This commit is contained in:
dankondr 2021-01-21 23:36:26 +03:00
parent 54bef0568b
commit 685b4107d2

View File

@ -10,6 +10,9 @@ void registerFunctionBase64Decode(FunctionFactory & factory)
{ {
tb64ini(0, 1); tb64ini(0, 1);
factory.registerFunction<FunctionBase64Conversion<Base64Decode>>(); factory.registerFunction<FunctionBase64Conversion<Base64Decode>>();
/// MysQL compatibility alias.
factory.registerFunction<FunctionBase64Conversion<Base64Decode>>("FROM_BASE64", FunctionFactory::CaseInsensitive);
} }
} }
#endif #endif