Refactor currentTimeFunctionClass and utcTimeFunctionClass #27760
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/enhancement
Enhancement
currentTimeFunctionClass is very simlier to currentTimeFunctionClass. We can see from the MySQL's code:
This means that we can reuse some codes.
After investigation, I found that utcTimeFunctionClass's
flen
is more accurate than currentTimeFunctionClass. We can fix it by using utcTimeFunctionClass's logic.The text was updated successfully, but these errors were encountered: