This commit is contained in:
yanhuqing
2017-09-09 22:22:51 +08:00
parent 05ab5840d0
commit 53d0046e54
6 changed files with 6 additions and 6 deletions
Binary file not shown.

Before

Width:  |  Height:  |  Size: 72 KiB

After

Width:  |  Height:  |  Size: 71 KiB

+1 -1
View File
@@ -364,7 +364,7 @@
</replacement>
<replacement>
<token>@qqgroup@</token>
<value>http://dble.cloud/</value>
<value>669663113</value>
</replacement>
</replacements>
</configuration>
+1 -1
View File
@@ -105,7 +105,7 @@ public class CacheService {
throw new java.lang.IllegalArgumentException(
"invalid cache config, layedpool.TableID2DataNodeCacheType and " +
"layedpool.TableID2DataNodeCache don't coexist");
}else if(cacheDefault == null && layedCacheType == null) {
} else if (cacheDefault == null && layedCacheType == null) {
return;
}
@@ -37,9 +37,9 @@ public class DefaultRouteStrategy extends AbstractRouteStrategy {
return list.get(0);
} catch (Exception t) {
LOGGER.error("routeNormalSqlWithAST", t);
if(t.getMessage() != null) {
if (t.getMessage() != null) {
throw new SQLSyntaxErrorException(t.getMessage());
}else {
} else {
throw new SQLSyntaxErrorException(t);
}
}
@@ -105,7 +105,7 @@ public final class TableStatAnalyzer implements QueryResultListener {
public List<TableStat> getTableStats(boolean isClear) {
SortedSet<TableStat> tableStatSortedSet = new TreeSet<>(tableStatMap.values());
List<TableStat> list = new ArrayList<>(tableStatSortedSet);
if(isClear){
if (isClear) {
tableStatMap = new ConcurrentHashMap<>();
}
return list;
+1 -1
View File
@@ -2,4 +2,4 @@ BuildTime 2017-09-04 14:05:32
MavenVersion 2.17.08.0-dev
GitUrl https://github.com/actiontech/dble
WebSite http://dble.cloud/
QQGroup http://dble.cloud/
QQGroup 669663113