|
cvs: pear /DBA/DBA/Driver Builtin.php: msg#00664php.cvs.pear
busterb Sun Sep 29 22:51:21 2002 EDT Modified files: /pear/DBA/DBA/Driver Builtin.php Log: added db2 support; dba_sync() on close Index: pear/DBA/DBA/Driver/Builtin.php diff -u pear/DBA/DBA/Driver/Builtin.php:1.6 pear/DBA/DBA/Driver/Builtin.php:1.7 --- pear/DBA/DBA/Driver/Builtin.php:1.6 Thu Sep 26 01:18:07 2002 +++ pear/DBA/DBA/Driver/Builtin.php Sun Sep 29 22:51:21 2002 @@ -18,7 +18,7 @@ // | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA| // +----------------------------------------------------------------------+ // -// $Id: Builtin.php,v 1.6 2002/09/26 05:18:07 busterb Exp $ +// $Id: Builtin.php,v 1.7 2002/09/30 02:51:21 busterb Exp $ require_once 'DBA.php'; @@ -27,12 +27,12 @@ * driver for a DBA class. Depending on the driver, this can be faster or * slower than the DBA_Driver_File class. * - * This class has been tested with DB3 and GDBM. Other drivers may have quirks - * that this class does not address yet. CDB is known to be unsuitable as a - * driver due to its lack of writes. DB2 currently segfaults with PHP-CVS. + * This class has been tested with DB3 and GDBM and probably works with DB2. + * Other drivers may have quirks that this class does not address yet. CDB + * is known to be unsuitable as a driver due to its lack of write ability. * * @author Brent Cook <busterb@xxxxxxxxxxxxxxx> - * @version 0.9.3 + * @version 0.9.4 * @access public * @package DBA */ @@ -163,6 +163,7 @@ if ($this->isOpen()) { $this->_readable = false; $this->_writable = false; + dba_sync($this->_dba); // db2 is known to require syncs dba_close($this->_dba); } else { return $this->raiseError('No database was open'); -- PEAR CVS Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: cvs: pear /Net_URL URL.php: 00664, Shane Caraveo |
|---|---|
| Next by Date: | cvs: pear /DBA DBA.php: 00664, Brent Cook |
| Previous by Thread: | cvs: pear /DBA/DBA/Driver Builtin.phpi: 00664, Brent Cook |
| Next by Thread: | cvs: pear /DBA DBA.php: 00664, Brent Cook |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |