mirror of https://github.com/apache/activemq.git
https://issues.apache.org/jira/browse/AMQ-3695 - remove distinct qualifier from union, breaks oracle and is the default
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@1241869 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
6a631a9d21
commit
9d15861cce
|
@ -357,7 +357,7 @@ public class Statements {
|
|||
public String getFindAllDestinationsStatement() {
|
||||
if (findAllDestinationsStatement == null) {
|
||||
findAllDestinationsStatement = "SELECT DISTINCT CONTAINER FROM " + getFullMessageTableName()
|
||||
+ " UNION DISTINCT SELECT DISTINCT CONTAINER FROM " + getFullAckTableName();
|
||||
+ " UNION SELECT DISTINCT CONTAINER FROM " + getFullAckTableName();
|
||||
}
|
||||
return findAllDestinationsStatement;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue