Skip to content

Commit

Permalink
修改一处英文报错
Browse files Browse the repository at this point in the history
  • Loading branch information
HashJang committed Dec 8, 2016
1 parent 6269a23 commit 074e585
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/mycat/manager/response/ReloadConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static void execute(ManagerConnection c, final boolean loadAll) {

// reload @@config_all 校验前一次的事务完成情况
if ( loadAll && !NIOProcessor.backends_old.isEmpty() ) {
c.writeErrMessage(ErrorCode.ER_YES, "The before reload @@config_all has an unfinished db transaction, please try again later.");
c.writeErrMessage(ErrorCode.ER_YES, "The are several unfinished db transactions before executing \"reload @@config_all\", therefore the execution is terminated for logical integrity and please try again later.");
return;
}

Expand Down Expand Up @@ -189,7 +189,7 @@ public static boolean reload_all() {
if (con instanceof MySQLConnection) {
MySQLConnection mysqlCon = (MySQLConnection) con;
if ( mysqlCon.getPool() == ds) {
NIOProcessor.backends_old.add( con );
NIOProcessor.backends_old.add( con );
}

} else if (con instanceof JDBCConnection) {
Expand Down

0 comments on commit 074e585

Please sign in to comment.