MDL-69863 database: Fix oracle and sqlsrv problems
commit43b436c1c01a594f7eff269cd214dc15621ef3a9
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 5 May 2021 22:03:03 +0000 (6 00:03 +0200)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 5 May 2021 22:03:03 +0000 (6 00:03 +0200)
treef8a1131b79f0a134b6b45c5d7f08cee3ff84a750
parent85b0b92c734dd521d4ffa6e65bc3214f96e68920
MDL-69863 database: Fix oracle and sqlsrv problems

1) The GROUP BY statement must include all fields in the SELECT
   not being aggregated or constant cols.
2) There was a missing space causing problems to databases
   using named parameters.
admin/tool/brickfield/classes/manager.php