July 22nd, 2002

milkman
  • archon

lack of error checking

don't know if anyone is working on this, but i (and many other people) have seen errors about calling selectrow_hashref on an undefined value in ljlib.pl. this must be related to other system level issues, but it clearly involves a lack of error checking. basically, we try to do a select on a DBI object that isn't defined.

i'm not sure where the proper place to check this connection should be. we could put it in dbs_selectrow_hashref. could the object become undefined between its creation and that point?

can we save ourself the trouble of getting that far and check in .... i started to follow the trail back, but i stopped at LJ::DBIRole->get_dbh. too much abstraction! someone who knows the system would be better suited to follow this one.