Revision: 3415
Author: [email protected]
Date: Fri Mar 26 16:00:04 2010
Log: Fix wrong detection of added tables
http://code.google.com/p/power-architect/source/detail?r=3415
Modified:
/trunk/src/main/java/ca/sqlpower/architect/diff/CompareSQL.java
=======================================
--- /trunk/src/main/java/ca/sqlpower/architect/diff/CompareSQL.java Wed Feb
24 14:00:05 2010
+++ /trunk/src/main/java/ca/sqlpower/architect/diff/CompareSQL.java Fri Mar
26 16:00:04 2010
@@ -135,12 +135,12 @@
boolean sourceValid = true;
boolean targetValid = true;
- this.sourceTableSet = new TreeSet<SQLTable>(nameComparator);
+ this.useUUID = useUUID;
+ this.sourceTableSet = new
TreeSet<SQLTable>(getObjectComparator());
this.sourceTableSet.addAll(sourceTables);
- this.targetTableSet = new TreeSet<SQLTable>(nameComparator);
+ this.targetTableSet = new
TreeSet<SQLTable>(getObjectComparator());
this.targetTableSet.addAll(targetTables);
this.suppressSimilarities = suppressSimilarities;
- this.useUUID = useUUID;
if (sourceTableSet.size() != sourceTables.size()){
To unsubscribe from this group, send email to
architect-commits+unsubscribegooglegroups.com or reply to this email with the words
"REMOVE ME" as the subject.