DB_DataObject and 'dont_die'-Option

From: Date: Wed, 26 May 2004 08:48:54 +0000
Subject: DB_DataObject and 'dont_die'-Option
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29687@lists.php.net to get a copy of this message
Hoi, If the DB connection is not present, DataObject will normally die on this error. Well, I wanted to implement my own user notification of this error, so is set the option 'dont_die' to true. Now DataObject doesn't die es expected but keeps on running queries to the DB as the connection ist not checked in some functions (e.g. fillTableSchema()). DB_DataObject::_connect() is expected to handle the connection but in fillTableSchema() is no check if the connection is _really_ there. Maybe I'm just not aware of the right solution for my prob. Any help? Thanks very much. -- mit freundlichen Grüßen | Jabber: m@tacker.org m.tacker | ICQ: 9170 9561

« previous php.pear.dev (#29687) next »