The Wayback Machine - https://web.archive.org/web/20201011180448/https://github.com/JSQLParser/JSqlParser/issues/801
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

Failed to parse MySQL DDL when using index in column definition #801

Open
yjmerik opened this issue May 23, 2019 · 0 comments
Open

Failed to parse MySQL DDL when using index in column definition #801

yjmerik opened this issue May 23, 2019 · 0 comments

Comments

@yjmerik
Copy link

@yjmerik yjmerik commented May 23, 2019

create table pub_user_exstatus (
userex_id varchar(64) not null,
tenant_id varchar(64) default null,
user_id varchar(64) default null,
exstatuscode int(11) default null,
extime datetime default null,
primary key (userex_id),
key index_user_id using btree (user_id)
) engine=innodb default charset=utf8;

Caused by: net.sf.jsqlparser.parser.ParseException: Encountered unexpected token: "using" "USING"
at line 8, column 21.

com.github.jsqlparser jsqlparser 2.0
@wumpz wumpz added this to in progress in Todo May 24, 2019
@wumpz wumpz moved this from in progress to todo in Todo Aug 12, 2019
@wumpz wumpz removed this from todo in Todo Aug 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.