Today's WTF

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


On Thu, Nov 15, 2007 at 12:32:08PM +1100, Toby Corkindale wrote:
[snip]
> 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
terminate.

But I still think it's crack-fuelled.

tjc


More information about the london.pm mailing list