Clear questions and runnable code
get the best and fastest answer
DBIC intermittently returning rows missing date_time valueby reasonablekeith (Deacon)
|on Jun 25, 2009 at 15:51 UTC||Need Help??|
reasonablekeith has asked for the wisdom of the Perl Monks concerning the following question:
I have a Catalyst app that builds some graphs which is occasionally giving screwy results. It will be fine, and then the result set suddenly returns, missing values. I've boiled an example down to the code as follows.
which when run gives
All those lines are there in the database all with valid date_time value (as implied by the order by date_time directive).
Very wierdly, runing a select over this table from a mysql command shell seems to clear this problem, and the values start returning normally for a while, but the problem always comes back. Bouncing apache has no effect.
I'm running active perl v5.10.0, apache 18.104.22.168, Win Server 2003, DBIx::Class v0.08010, Catalyst 5.71001 and modperl 1.99.
Any help/pointers much appreciated.
my name's not Keith, and I'm not reasonable.