Skip to content

Commit

Permalink
0003143: Table reload request load sql using alias "t" will not work
Browse files Browse the repository at this point in the history
  • Loading branch information
jumpmind-josh committed Jun 6, 2017
1 parent b15da60 commit 75607a6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -934,7 +934,7 @@ protected int getDataCountForReload(Table table, Node targetNode, String selectS
String catalogSeparator = dbInfo.getCatalogSeparator();
String schemaSeparator = dbInfo.getSchemaSeparator();

String sql = String.format("select count(*) from %s where %s", table
String sql = String.format("select count(*) from %s t where %s", table
.getQualifiedTableName(quote, catalogSeparator, schemaSeparator), selectSql);
sql = FormatUtils.replace("groupId", targetNode.getNodeGroupId(), sql);
sql = FormatUtils.replace("externalId", targetNode.getExternalId(), sql);
Expand Down

0 comments on commit 75607a6

Please sign in to comment.