Fix: simplify group by for informix

This commit is contained in:
Quentin Garnier 2014-02-20 18:25:19 +01:00
parent ea300fceb1
commit 2812fb9fb6
1 changed files with 2 additions and 2 deletions

View File

@ -85,8 +85,8 @@ SELECT name dbspace,
sum(nfree) pages_free -- sum of all chunks free pages
FROM sysdbspaces d, syschunks c
WHERE d.dbsnum = c.dbsnum
GROUP BY dbspace
ORDER BY dbspace
GROUP BY d.name
ORDER BY d.name
};
$self->{sql}->query(query => $query);