]> git.mjollnir.org Git - moodle.git/commit
MSSQL and Oracle don't want DISTINCT clauses over TEXT/BINARY fields.
authorstronk7 <stronk7>
Mon, 4 Sep 2006 22:05:58 +0000 (22:05 +0000)
committerstronk7 <stronk7>
Mon, 4 Sep 2006 22:05:58 +0000 (22:05 +0000)
commit94ef00f3bbdc4f246aec52854bd8900df7961248
treed303ac574dab2834273a70befa7bfdd788f9032a
parent8f5c4adbd71b476f58be8e8161b30e7221522075
MSSQL and Oracle don't want DISTINCT clauses over TEXT/BINARY fields.
In this case, we simply delete it because SELECT g.* guarantees unique
records to be retrieved by the first field.
lib/datalib.php