Commit ba82ee1
authored
fix where condition priority (#58)
When where is "delayed_until <= UTC_TIMESTAMP() OR delayed_until IS NULL", tasks with NULL delayed_until will be repeatly executed, acked=1 wont work: WHERE acked = false AND delayed_until <= UTC_TIMESTAMP() OR delayed_until IS NULL1 parent 3dfe5f8 commit ba82ee1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
0 commit comments