-
Notifications
You must be signed in to change notification settings - Fork 490
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
Parsing errors from mysql dump #1370
Comments
This is the query which fails: SELECT COUNT(*) INTO @rocksdb_has_p_s_session_variables FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'performance_schema' AND TABLE_NAME = 'session_variables' This is due to this feature missing: pingcap/tidb#23924 |
Any estimate on when the feature would be added? |
It is not currently planned, but a feature that is open for contributors. |
Is there any flag we can pass or anything like that to avoid parsing of such system generated code in dump file ? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Please answer these questions before submitting your issue. Thanks!
Ran parser for dump file with following system generated code at the beginning :
What did you expect to see?
dump as is
What did you see instead?
parse error: line 1 column 64 near "@rocksdb_has_p_s_session_variables FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = 'performance_schema' AND TABLE_NAME = 'session_variables' */;
What version of TiDB SQL Parser are you using?
http://github.com/pingcap/tidb/types/parser_driver@328b6d0
http://github.com/pingcap/parser@3a18f1e
The text was updated successfully, but these errors were encountered: