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

SQLColumnDefinition属性定义的问题 #2576

Closed
scyiqie opened this issue May 14, 2018 · 1 comment
Closed

SQLColumnDefinition属性定义的问题 #2576

scyiqie opened this issue May 14, 2018 · 1 comment
Milestone

Comments

@scyiqie
Copy link

scyiqie commented May 14, 2018

mysql5.7语法:
data_type [GENERATED ALWAYS] AS (expression)
[VIRTUAL | STORED] [NOT NULL | NULL]
[UNIQUE [KEY]] [[PRIMARY] KEY]
[COMMENT 'string']
在SQLColumnDefinition中定义的却是sorted。

MySqlOutputVisitor的visit方法中也应新增
if (x.isVirtual()) {
print0(ucase ? " VIRTUAL" : " virtual");
}

    if (x.isStored()) {
        print0(ucase ? " STORED" : " stored");
    }
@wenshao wenshao added this to the 1.1.10 milestone May 14, 2018
wenshao added a commit that referenced this issue May 14, 2018
@wenshao
Copy link
Member

wenshao commented May 27, 2018

https://github.com/alibaba/druid/releases/tag/1.1.10
问题修复,请用新版本

@wenshao wenshao closed this as completed May 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants