Skip to content

SPM: create binding failed #21454

Open
Open
@ChenPeng2013

Description

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

use test;
drop table if exists t;
create table t(a int);
select count(*) from t t1 join t t2;
create global binding for select count(*) from t t1 join t t2 using select count(*) from t t1 join t t2;

2. What did you expect to see? (Required)

create global binding successed

3. What did you see instead (Required)

mysql> create global binding for select count(*) from t t1 join t t2 using select count(*) from t t1 join t t2;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use line 1 column 74 near "select count(*) from t t1 join t t2"

4. What is your TiDB version? (Required)

Release Version: v4.0.0-beta.2-1702-g0c3c4c588
Edition: Community
Git Commit Hash: 0c3c4c588aa52b5bc79edfed9d6f1431d9cd2e2b
Git Branch: master
UTC Build Time: 2020-12-03 02:55:39
GoVersion: go1.15.3
Race Enabled: false
TiKV Min Version: v3.0.0-60965b006877ca7234adaced7890d7b029ed1306
Check Table Before Drop: false

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions