Index: trunk/phase3/includes/db/DatabaseMysql.php |
— | — | @@ -289,6 +289,10 @@ |
290 | 290 | return '[http://www.mysql.com/ MySQL]'; |
291 | 291 | } |
292 | 292 | |
| 293 | + function standardSelectDistinct() { |
| 294 | + return false; |
| 295 | + } |
| 296 | + |
293 | 297 | /** |
294 | 298 | * @return String: Database type for use in messages |
295 | 299 | */ |
Index: trunk/phase3/includes/db/Database.php |
— | — | @@ -193,6 +193,14 @@ |
194 | 194 | } |
195 | 195 | |
196 | 196 | /** |
| 197 | + * Returns true if this database requires that SELECT DISTINCT queries require that all |
| 198 | + ORDER BY expressions occur in the SELECT list per the SQL92 standard |
| 199 | + */ |
| 200 | + function standardSelectDistinct() { |
| 201 | + return true; |
| 202 | + } |
| 203 | + |
| 204 | + /** |
197 | 205 | * Returns true if this database can do a native search on IP columns |
198 | 206 | * e.g. this works as expected: .. WHERE rc_ip = '127.42.12.102/32'; |
199 | 207 | */ |