We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
1.1.7版本,测试代码: public void testSetSchema(){ DB2StatementParser parser = new DB2StatementParser( "set schema DB2ADMIN"); List statementList = parser.parseStatementList(); System.out.println(statementList.get(0).toString()); } 错误堆栈
The text was updated successfully, but these errors were encountered:
是不是应该这样写?
set schema = DB2ADMIN
Sorry, something went wrong.
这种语法也可以的,我在db2数据库执行过,没有问题的
bug fixed sql parser for db2. for issue #2332
afea04f
https://github.com/alibaba/druid/releases/tag/1.1.8 问题已修复,请使用新版本
No branches or pull requests
1.1.7版本,测试代码:

public void testSetSchema(){
DB2StatementParser parser = new DB2StatementParser(
"set schema DB2ADMIN");
List statementList = parser.parseStatementList();
System.out.println(statementList.get(0).toString());
}
错误堆栈
The text was updated successfully, but these errors were encountered: