View Issue Details

IDProjectCategoryView StatusLast Update
0002883SymmetricDSBugpublic2016-11-08 11:59
ReportermmichalekAssigned Tommichalek 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version3.8.0 
Target Version3.8.8Fixed in Version3.8.8 
Summary0002883: DBCompare overrides SQL output when using a single SQL file
DescriptionWhen using a single --output-sql file, only the last table diffed will be int he output.sql. For example:
./dbcompare -s ../engines/corp-000.properties -t ../engines/store-001.properties --output-sql ./output.sql

A workaround is to include %t in the file name, which will get cause DbCompare to create separate files for each table. e.g. --output-sql /output%t.sql
TagsNo tags attached.

Activities

There are no notes attached to this issue.

Related Changesets

SymmetricDS: 3.8 ba0c70f7

2016-10-28 15:37:24

mmichalek

Details Diff
0002883: DBCompare overrides SQL output when using a single SQL file
0002883
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/io/DbCompare.java Diff File
mod - symmetric-core/src/main/java/org/jumpmind/symmetric/io/DbCompareDiffWriter.java Diff File
add - symmetric-core/src/main/java/org/jumpmind/symmetric/io/FirstUseFileOutputStream.java Diff File

Issue History

Date Modified Username Field Change
2016-10-28 14:41 mmichalek New Issue
2016-10-28 14:41 mmichalek Status new => assigned
2016-10-28 14:41 mmichalek Assigned To => mmichalek
2016-10-28 15:39 mmichalek Status assigned => resolved
2016-10-28 15:39 mmichalek Resolution open => fixed
2016-10-28 15:39 mmichalek Fixed in Version => 3.8.8
2016-10-28 16:00 mmichalek Changeset attached => SymmetricDS 3.8 ba0c70f7
2016-11-08 11:59 chenson Status resolved => closed