Skip to content

Commit

Permalink
fix: restore usage of -i -n in polling (#5228)
Browse files Browse the repository at this point in the history
  • Loading branch information
laf committed Dec 22, 2016
1 parent bcb4d36 commit 9ab4c1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poller.php
Expand Up @@ -57,7 +57,7 @@
// FIXME
$query = 'SELECT * FROM (SELECT @rownum :=0) r,
(
SELECT @rownum := @rownum +1 AS rownum, `device_id`
SELECT @rownum := @rownum +1 AS rownum, `devices`.*
FROM `devices`
WHERE `disabled` = 0
ORDER BY `device_id` ASC
Expand Down

0 comments on commit 9ab4c1f

Please sign in to comment.