Micro-optimization for MySQL order by rand
This commit is contained in:
parent
3eeea75b54
commit
87754e6f2c
@ -63,7 +63,7 @@ class MySQL_SQL extends Abstract_SQL {
|
|||||||
*/
|
*/
|
||||||
public function random()
|
public function random()
|
||||||
{
|
{
|
||||||
return ' RAND()';
|
return ' RAND() DESC';
|
||||||
}
|
}
|
||||||
|
|
||||||
// --------------------------------------------------------------------------
|
// --------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user