SQL: change the default precision for CURRENT_TIMESTAMP function (#39391)

(cherry picked from commit dbb93310b0)
This commit is contained in:
Andrei Stefan 2019-02-27 09:48:10 +02:00 committed by Andrei Stefan
parent 4deb69e9e4
commit 542e2c55f6
3 changed files with 16 additions and 2 deletions

View file

@ -153,7 +153,8 @@ CURRENT_TIMESTAMP(precision <1>)
Returns the date/time when the current query reached the server.
As a function, `CURRENT_TIMESTAMP()` accepts _precision_ as an optional
parameter for rounding the second fractional digits (nanoseconds).
parameter for rounding the second fractional digits (nanoseconds). The default _precision_ is 3,
meaning a milliseconds precision current date/time will be returned.
This method always returns the same value for its every occurrence within the same query.