mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-10-29 23:16:57 +00:00
fix(mysql): cap timestamp output at microsecond precision (#9831)
* fix(mysql): cap timestamp output at microsecond precision
Truncate MySQL text timestamp results to microseconds while preserving the existing second and millisecond formatting. Keep stored nanoseconds and explicit integer/string representations unchanged.
Fixes #9828
* chore: ignore local output directory
---------
(cherry picked from commit 5af1e3301e)
Signed-off-by: luofucong <luofc@foxmail.com>
9 lines
341 B
TOML
9 lines
341 B
TOML
name = "mysql_timestamp_precision"
|
|
reason = "MySQL timestamp results must use at most microseconds while stored nanoseconds survive restart (issue #9828)."
|
|
introduced_by = "issue #9828"
|
|
topologies = ["standalone", "distributed"]
|
|
from_range = ["*"]
|
|
to_range = [">=v1.4.0-alpha.0"]
|
|
features = ["table", "mysql", "timestamp"]
|
|
owner = "servers"
|