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

druid解析ddl失败-create table #1257

Closed
djjsindy opened this issue May 26, 2016 · 0 comments
Closed

druid解析ddl失败-create table #1257

djjsindy opened this issue May 26, 2016 · 0 comments
Milestone

Comments

@djjsindy
Copy link

sql:create table xx (id bigint unsigned not null comment 'aa' auto_increment,gmt_create datetime not null comment '创建时间',gmt_modified datetime not null comment '修改时间', primary key (id)) comment='re'

问题sql:如果auto_increment 在comment之前就不会有问题,如果在comment之后,就会报异常syntax error, error in :''aa' auto_increment,gmt_create date',expect RPAREN, actual IDENTIFIER auto_increment

wenshao added a commit to wenshao/druid that referenced this issue Jun 4, 2016
@wenshao wenshao added this to the 1.0.21 milestone Jun 4, 2016
@wenshao wenshao closed this as completed Jun 4, 2016
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

2 participants