frank (archon) wrote in lj_dev,

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 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.

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded