Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tidb parser dependency is at old location #26

Open
morgo opened this issue Nov 11, 2021 · 1 comment
Open

tidb parser dependency is at old location #26

morgo opened this issue Nov 11, 2021 · 1 comment

Comments

@morgo
Copy link
Contributor

morgo commented Nov 11, 2021

The parser used by the mysql tester is from github.com/pingcap/parser not github.com/pingcap/tidb/parser.

This is a problem because some of the tests require newer features:

FATA[0000] run test [ctype_gbk] err: sql:SET NAMES gbk;: [parser:1064]You have an error in your SQL syntax; check the manual that corresponds to your TiDB version for the right syntax to use [parser:1115]Unknown character set: 'gbk' 
@morgo
Copy link
Contributor Author

morgo commented Nov 11, 2021

When I tried to bump this location, it forced a newer version of the MySQL driver:

$ go get github.com/pingcap/tidb/parser@master
go get: upgraded github.com/go-sql-driver/mysql v1.3.0 => v1.6.0
go get: added github.com/pingcap/tidb/parser v0.0.0-20211111185706-64f34345d982

I have filed this separately at #25

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant