You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/05/22 08:29:07 UTC
[GitHub] [shardingsphere] musarona opened a new issue #5750: current release version 4.1.0 contain bug, won't initial master slave datasource.
musarona opened a new issue #5750:
URL: https://github.com/apache/shardingsphere/issues/5750
## Bug Report
shardingsphere-sql-parser-binder-4.1.0.jar!/org/apache/shardingsphere/sql/parser/binder/metadata/column/ColumnMetaDataLoader.class:123
`private static String generateEmptyResultSQL(String table, String databaseType) {
String delimiterLeft;
String delimiterRight;
if (!"MySQL".equals(databaseType) && !"MariaDB".equals(databaseType)) {
if (!"Oracle".equals(databaseType) && !"PostgreSQL".equals(databaseType) && !"H2".equals(databaseType) && !"SQL92".equals(databaseType)) {
if ("SQLServer".equals(databaseType)) {
delimiterLeft = "[";
delimiterRight = "]";
} else {
delimiterLeft = "";
delimiterRight = "";
}
} else {
delimiterLeft = "\"";
delimiterRight = "\"";
}
} else {
delimiterLeft = "`";
delimiterRight = "`";
}
return "SELECT * FROM " + delimiterLeft + table + delimiterRight + " WHERE 1 != 1;";`
unnecessary color throws an exception.
need to release new version to fix that.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] kimmking commented on issue #5750: current release version 4.1.0 contain bug, won't initial master slave datasource.
Posted by GitBox <gi...@apache.org>.
kimmking commented on issue #5750:
URL: https://github.com/apache/shardingsphere/issues/5750#issuecomment-632839193
It was removed now in master branch.
https://github.com/apache/shardingsphere/blob/master/shardingsphere-sql-parser/shardingsphere-sql-parser-binder/src/main/java/org/apache/shardingsphere/sql/parser/binder/metadata/column/ColumnMetaDataLoader.java
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] kimmking closed issue #5750: current release version 4.1.0 contain bug, won't initial master slave datasource.
Posted by GitBox <gi...@apache.org>.
kimmking closed issue #5750:
URL: https://github.com/apache/shardingsphere/issues/5750
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org