Revision 45711
trunk/org.gvsig.desktop/org.gvsig.desktop.compat.cdc/org.gvsig.fmap.dal/org.gvsig.fmap.dal.db/org.gvsig.fmap.dal.db.jdbc/src/main/java/org/gvsig/fmap/dal/store/jdbc2/spi/operations/CountOperation.java | ||
---|---|---|
86 | 86 |
|
87 | 87 |
SelectBuilder select = sqlbuilder.select(); |
88 | 88 |
|
89 |
if (this.query != null) { // && (this.query.hasOrder() || this.query.hasGroupByColumns())) {
|
|
89 |
if (this.query != null && this.query.hasGroupByColumns()) {
|
|
90 | 90 |
JDBCSQLBuilderBase subsqlbuilder = this.createSQLBuilder(); |
91 | 91 |
SelectBuilder subselect = subsqlbuilder.select(); |
92 | 92 |
if (this.query.hasGroupByColumns()) { |
Also available in: Unified diff