SELECT '2023-03-21 12:00:00' + INTERVAL (1+2)*3 DAY reports "Incorrect parameter count" error #42416
Labels
component/parser
may-affects-5.4
This bug maybe affects 5.4.x versions.
may-affects-6.1
may-affects-6.5
may-affects-7.1
may-affects-7.5
may-affects-8.1
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
3. What did you see instead (Required)
This query is ok on MySQL 5.7.
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: