Fix: simplify group by for informix
This commit is contained in:
parent
ea300fceb1
commit
2812fb9fb6
|
@ -85,8 +85,8 @@ SELECT name dbspace,
|
||||||
sum(nfree) pages_free -- sum of all chunks free pages
|
sum(nfree) pages_free -- sum of all chunks free pages
|
||||||
FROM sysdbspaces d, syschunks c
|
FROM sysdbspaces d, syschunks c
|
||||||
WHERE d.dbsnum = c.dbsnum
|
WHERE d.dbsnum = c.dbsnum
|
||||||
GROUP BY dbspace
|
GROUP BY d.name
|
||||||
ORDER BY dbspace
|
ORDER BY d.name
|
||||||
};
|
};
|
||||||
|
|
||||||
$self->{sql}->query(query => $query);
|
$self->{sql}->query(query => $query);
|
||||||
|
|
Loading…
Reference in New Issue