On 2018-07-16 at 02:51:08, an sql error occured. When asked the trouble, the database said:

"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-5, 5' at line 1"

The error was thrown from in the function and the offending sql statement is below:


select * from tbl_postjob where 1 and fld_status='1' and fld_jobId in (755,756,757,758,759,760,762,767,778,782,794,798,799,800,802,804,805,806,808,809,810,872,876,879,880,881,883,884,887,888,889,890,891,892,897,901,902,903,904,906,909,910) order by fld_mod_date desc limit -5, 5
MyFutureJob