Skip to content

Commit

Permalink
0001291: Transforms can cause an error when attempting to use the cre…
Browse files Browse the repository at this point in the history
…ate tables feature of SymmetricDS
  • Loading branch information
chenson42 committed Jun 19, 2013
1 parent a4ee98e commit a73620d
Showing 1 changed file with 7 additions and 0 deletions.
Expand Up @@ -120,6 +120,7 @@ public boolean start(Table table) {
this.sourceTable = table;
return true;
} else {
this.sourceTable = null;
return super.start(table);
}
}
Expand Down Expand Up @@ -185,7 +186,13 @@ public void write(CsvData data) {
}

} else {
if (sourceTable != null) {
super.start(sourceTable);
}
super.write(data);
if (sourceTable != null) {
super.end(sourceTable);
}
}

}
Expand Down

0 comments on commit a73620d

Please sign in to comment.