perlmonger: (bleurgh)
perlmonger ([personal profile] perlmonger) wrote2005-01-28 03:15 pm

flatlined on Friday

*headdesk*
*headdesk*
*headdesk*

So I'm factoring out some common code, a part of which sets the query cache time. OK. It all looks fine, but stay! I've just done a refresh and the queries aren't showing up as cached. Eleven!

Some twelvety minutes and much insertion of diagnostics later I finally notice the little menu in the top right corner of the browser window; my session is logged into site admin. And I specifically disable query caching while a session is logged in.

It's been a long week. If anyone has seen my brain, please let me know where I left it...

[identity profile] syllopsium.livejournal.com 2005-01-28 03:48 pm (UTC)(link)
ooops. Still, I've just spent 5 minutes trying to work out why a statement to update a value in a table that is executing properly wasnt doing anything, before realising that it was correctly updating a value of a *resultset* rather than a dynamic link to a table. idiot. Cue one UPDATE statement.