Revision 7638
Added by ben leinfelder over 11 years ago
src/edu/ucsb/nceas/metacat/replication/ReplicationService.java | ||
---|---|---|
1468 | 1468 |
|
1469 | 1469 |
// Get any deleted documents |
1470 | 1470 |
StringBuffer delsql = new StringBuffer(); |
1471 |
delsql.append("SELECT t1.docid FROM xml_revisions t1 LEFT JOIN xml_documents t2 on t1.docid = t2.docid WHERE t2.docid IS NULL"); |
|
1471 |
delsql.append("SELECT t1.docid FROM xml_revisions t1 LEFT JOIN xml_documents t2 on t1.docid = t2.docid WHERE t2.docid IS NULL ");
|
|
1472 | 1472 |
|
1473 | 1473 |
// If the localhost is not a hub to the remote server, only replicate |
1474 | 1474 |
// the docid' which home server is local host (server_location =1) |
Also available in: Unified diff
add space to prevent syntax error when additional clause is appended. https://projects.ecoinformatics.org/ecoinfo/issues/5929.