addition between time
and interval
is not compatible with Mysql
#10325
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
type/bug
The issue is confirmed as a bug.
type/compatibility
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
In Mysql
In TiDB
tidb-server -V
or runselect tidb_version();
on TiDB)?tidb_version(): Release Version: v3.0.0-beta-463-g36bb1ae89
In mysql's document:
time('12:34:56') + interval 1 second
is same asdate_add(time('12:34:56'), interval 1 second)
And
The text was updated successfully, but these errors were encountered: