if (j1Empty || j2Empty) { if (j1Empty && !j2Empty) { collectOuterJoins(j2); if (!j2.isEmpty()) _flags |= IMPLICIT_DISTINCT; } else if (j2Empty && !j1Empty) { collectOuterJoins(j1); if (!j1.isEmpty()) _flags |= IMPLICIT_DISTINCT; j2.joins().removeAll(commonJoins); collectOuterJoins(j1); collectOuterJoins(j2);
if (j1Empty || j2Empty) { if (j1Empty && !j2Empty) { collectOuterJoins(j2); if (!j2.isEmpty()) _flags |= IMPLICIT_DISTINCT; } else if (j2Empty && !j1Empty) { collectOuterJoins(j1); if (!j1.isEmpty()) _flags |= IMPLICIT_DISTINCT; j2.joins().removeAll(commonJoins); collectOuterJoins(j1); collectOuterJoins(j2);
if (j1Empty || j2Empty) { if (j1Empty && !j2Empty) { collectOuterJoins(j2); if (!j2.isEmpty()) _flags |= IMPLICIT_DISTINCT; } else if (j2Empty && !j1Empty) { collectOuterJoins(j1); if (!j1.isEmpty()) _flags |= IMPLICIT_DISTINCT; j2.joins().removeAll(commonJoins); collectOuterJoins(j1); collectOuterJoins(j2);
if (j1Empty || j2Empty) { if (j1Empty && !j2Empty) { collectOuterJoins(j2); if (!j2.isEmpty()) _flags |= IMPLICIT_DISTINCT; } else if (j2Empty && !j1Empty) { collectOuterJoins(j1); if (!j1.isEmpty()) _flags |= IMPLICIT_DISTINCT; j2.joins().removeAll(commonJoins); collectOuterJoins(j1); collectOuterJoins(j2);
if (j1Empty || j2Empty) { if (j1Empty && !j2Empty) { collectOuterJoins(j2); if (!j2.isEmpty()) _flags |= IMPLICIT_DISTINCT; } else if (j2Empty && !j1Empty) { collectOuterJoins(j1); if (!j1.isEmpty()) _flags |= IMPLICIT_DISTINCT; j2.joins().removeAll(commonJoins); collectOuterJoins(j1); collectOuterJoins(j2);