Today's WTF

Toby Corkindale tjc at
Thu Nov 15 01:58:12 GMT 2007

On Thu, Nov 15, 2007 at 12:32:08PM +1100, Toby Corkindale wrote:
> 2) if the DB updates fast enough, $rowsReturned may jump more than one row per
> iteration, and once $rowsReturned is > $rowsToCollect, the LOOP NEVER ENDS. In
> which case it won't just be the DBA after your head.

Whoops. It has a LIMIT clause on the SQL, so actually it will eventually

But I still think it's crack-fuelled.


More information about the mailing list