You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer these questions before submitting your issue. Thanks!
What did you do?
If possible, provide a recipe for reproducing the error.
tidb> show create table t;
+-------+-----------------------------------------------------------------------------------------------------------------------------------+
| Table | Create Table |
+-------+-----------------------------------------------------------------------------------------------------------------------------------+
| t | CREATE TABLE `t` (
`a` varchar(512) DEFAULT NULL,
KEY `idx` (`a`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin |
+-------+-----------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.00 sec)
CREATE GLOBAL BINDING FOR select * from t where a BETWEEN "a" and "b" USING select * from t use index(idx) where a BETWEEN "a" and "c";
What did you expect to see?
The statement executed successfully.
What did you see instead?
tidb> CREATE GLOBAL BINDING FOR select * from t where a BETWEEN "a" and "b" USING select * from t use index(idx) where a BETWEEN "a" and "c";
ERROR 1105 (HY000): line 1 column 48 near "\"a\" and \"c\""
What version of TiDB are you using (tidb-server -V or run select tidb_version(); on TiDB)?
tag: v3.0.2
The text was updated successfully, but these errors were encountered:
Bug Report
Please answer these questions before submitting your issue. Thanks!
If possible, provide a recipe for reproducing the error.
What did you expect to see?
The statement executed successfully.
What did you see instead?
tidb-server -V
or runselect tidb_version();
on TiDB)?tag: v3.0.2
The text was updated successfully, but these errors were encountered: