MDL-29815 question engine DB: bad group-by clause detected by Oracle.

Thanks to Yanfei Lu for finding this and suggesting the fix.
This commit is contained in:
Tim Hunt
2011-10-20 11:14:14 +01:00
parent 3a81b37617
commit 304f0d850f
+3 -1
View File
@@ -367,7 +367,9 @@ GROUP BY
qa.questionid,
q.name,
q.id,
summarystate
CASE qas.state
{$this->full_states_to_summary_state_sql()}
END
ORDER BY
qa.slot,