diff options
author | mattab <matthieu.aubry@gmail.com> | 2014-12-05 15:12:57 +0300 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2014-12-05 15:12:57 +0300 |
commit | 269ffeb4b71926fa4973aa0075943dcc2426bd08 (patch) | |
tree | 86329f4c10dba1e300cc4f0b672647e838b26a50 /plugins/Live | |
parent | 9610d1b785cb05e06b94eb2c749e7a7f80dcc90b (diff) |
ORDER BY the inner query so the order is deterministic + It uses the INDEX
Diffstat (limited to 'plugins/Live')
-rw-r--r-- | plugins/Live/tests/System/ModelTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Live/tests/System/ModelTest.php b/plugins/Live/tests/System/ModelTest.php index d5dea34767..90196e7309 100644 --- a/plugins/Live/tests/System/ModelTest.php +++ b/plugins/Live/tests/System/ModelTest.php @@ -92,7 +92,7 @@ class ModelTest extends SystemTestCase AND log_visit.visit_last_action_time <= ? ) AND ( log_link_visit_action.custom_var_k1 = ? ) GROUP BY log_visit.idvisit - ORDER BY NULL + ORDER BY idsite, visit_last_action_time DESC LIMIT 100 ) AS log_inner ORDER BY idsite, visit_last_action_time DESC |