Skip to content

Commit

Permalink
0004459: Too many rows sent in reload for table when self-referencing
Browse files Browse the repository at this point in the history
foreign key
  • Loading branch information
erilong committed Jun 29, 2020
1 parent 9d725c6 commit 74f5c67
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -2984,7 +2984,7 @@ protected void startNewCursor(final TriggerHistory triggerHistory,
}

if (selfRefLevel == 0) {
selectSql += selfRefParentColumnName + " is null or " + selfRefParentColumnName + " = " + selfRefChildColumnName + " ";
selectSql += "(" + selfRefParentColumnName + " is null or " + selfRefParentColumnName + " = " + selfRefChildColumnName + ") ";
} else {
DatabaseInfo info = getSymmetricDialect().getPlatform().getDatabaseInfo();
String tableName = Table.getFullyQualifiedTableName(sourceTable.getCatalog(), sourceTable.getSchema(),
Expand Down

0 comments on commit 74f5c67

Please sign in to comment.