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

DB2数据库下执行set schema DB2ADMIN出错 #2332

Closed
xuanang opened this issue Feb 11, 2018 · 3 comments
Closed

DB2数据库下执行set schema DB2ADMIN出错 #2332

xuanang opened this issue Feb 11, 2018 · 3 comments
Labels
Milestone

Comments

@xuanang
Copy link

xuanang commented Feb 11, 2018

1.1.7版本,测试代码:
public void testSetSchema(){
DB2StatementParser parser = new DB2StatementParser(
"set schema DB2ADMIN");
List statementList = parser.parseStatementList();
System.out.println(statementList.get(0).toString());
}
错误堆栈
image

@wenshao
Copy link
Member

wenshao commented Feb 11, 2018

是不是应该这样写?

set schema = DB2ADMIN

@xuanang
Copy link
Author

xuanang commented Feb 11, 2018

这种语法也可以的,我在db2数据库执行过,没有问题的

@wenshao wenshao added the Bug label Feb 11, 2018
@wenshao wenshao added this to the 1.1.8 milestone Feb 11, 2018
@wenshao
Copy link
Member

wenshao commented Feb 11, 2018

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

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

No branches or pull requests

2 participants