Re: [ANNOUNCEMENT] MDB-0.9 (beta) Released.

From: Date: Fri, 03 May 2002 16:50:13 +0000
Subject: Re: [ANNOUNCEMENT] MDB-0.9 (beta) Released.
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-1331@lists.php.net to get a copy of this message
> Package Info > ------------- > MDB is a merge of PEAR DB's and Metabases that provides a unified DB API. > It also provides methods for DB portability and DB feature emulation. > Most notably it features a DB independent XML-Schema manager. Hi, because of the directory issue I first couldn't use MDB, because in MDB.php around line 88 file_exists() returns false for "mysql.php". Tracking this problem, I found another error handling related thing: Around line 97 you return() an errormessage as a string. Shouldn't this be a PEAR_Error? This would need a change around line 140 too, because there's a check of the returnvalue. Around line 368 you just throw this error away. $error is never checked. This should be changed. After a small hack MDB works, but I have a question: - why is getAll() missing? Christian Dickmann

« previous php.pear.general (#1331) next »