cvs: pear /DBA DBA.php package.xml /DBA/DBA Compatibility.php /DBA/DBA/Driver File.php
| From: | Brent Cook | Date: | Mon, 30 Sep 2002 03:25:11 +0000 |
| Subject: | cvs: pear /DBA DBA.php package.xml /DBA/DBA Compatibility.php /DBA/DBA/Driver File.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-6766@lists.php.net to get a copy of this message | ||
busterb Sun Sep 29 23:25:11 2002 EDT
Modified files:
/pear/DBA DBA.php package.xml
/pear/DBA/DBA Compatibility.php
/pear/DBA/DBA/Driver File.php
Log:
update version notes, bump versions
Index: pear/DBA/DBA.php
diff -u pear/DBA/DBA.php:1.25 pear/DBA/DBA.php:1.26
--- pear/DBA/DBA.php:1.25 Sun Sep 29 22:56:32 2002
+++ pear/DBA/DBA.php Sun Sep 29 23:25:10 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: DBA.php,v 1.25 2002/09/30 02:56:32 busterb Exp $
+// $Id: DBA.php,v 1.26 2002/09/30 03:25:10 busterb Exp $
//
require_once('PEAR.php');
@@ -94,7 +94,7 @@
*/
function getDriverList()
{
- return array('gdbm', 'db3', 'db2', 'file');
+ return array('gdbm', 'db3', 'file', 'db2');
}
}
?>
Index: pear/DBA/package.xml
diff -u pear/DBA/package.xml:1.23 pear/DBA/package.xml:1.24
--- pear/DBA/package.xml:1.23 Thu Sep 26 08:59:51 2002
+++ pear/DBA/package.xml Sun Sep 29 23:25:10 2002
@@ -21,12 +21,15 @@
<release>
<license>LGPL</license>
<version>0.9.4</version>
- <date>2002-09-26</date>
+ <date>2002-09-29</date>
<state>beta</state>
<notes>
-This release updates the driver constructors so that they call their base class's
constructors. This makes PEAR's virtual destructor system function properly.
+Several nice changes for this release:
+ * The DBA::exists() function has been renamed to DBA::db_exists(). This is to not be confused with
the driver method exists().
-NOTE: The file driver appears to work incorrectly with the latest PHP CVS. I am currently
investigating the issue. For now, either use CVS from a few weeks ago, or PHP up to 4.2.3.
+ * Added db2 support. Apparently, it just didn't work on my OS due to outdated db2 libraries
(Slackware-current). Be sure to compile PHP with db2 2.7.7.
+
+ * Added db_drop() and drop() methods to the drivers. db_drop() is static and takes a database name
as an argument; drop() deletes the currently open or last open database.
Many of the functions that were included with the earlier developer releases, such as the table
manager and SQL parser, have been split into separate packages to be released soon.
</notes>
@@ -42,7 +45,7 @@
</dir>
<dir name="tests" role="test">
<file role="test">benchmark_drivers.php</file>
- <file role="test">test_file_driver.php</file>
+ <file role="test">test_drivers.php</file>
<file role="test">test_compatibility.php</file>
</dir>
<dir name="docs" role="doc">
Index: pear/DBA/DBA/Compatibility.php
diff -u pear/DBA/DBA/Compatibility.php:1.5 pear/DBA/DBA/Compatibility.php:1.6
--- pear/DBA/DBA/Compatibility.php:1.5 Thu Sep 26 01:18:07 2002
+++ pear/DBA/DBA/Compatibility.php Sun Sep 29 23:25:10 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: Compatibility.php,v 1.5 2002/09/26 05:18:07 busterb Exp $
+// $Id: Compatibility.php,v 1.6 2002/09/30 03:25:10 busterb Exp $
/**
* dba compatibility layer
@@ -29,7 +29,7 @@
* work.
*
* @author Brent Cook <busterb@mail.utexas.edu>
- * @version 0.9.3
+ * @version 0.9.4
* @access public
* @package DBA
* @see PHP dba Documentation
Index: pear/DBA/DBA/Driver/File.php
diff -u pear/DBA/DBA/Driver/File.php:1.6 pear/DBA/DBA/Driver/File.php:1.7
--- pear/DBA/DBA/Driver/File.php:1.6 Sun Sep 29 23:22:23 2002
+++ pear/DBA/DBA/Driver/File.php Sun Sep 29 23:25:10 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: File.php,v 1.6 2002/09/30 03:22:23 busterb Exp $
+// $Id: File.php,v 1.7 2002/09/30 03:25:10 busterb Exp $
require_once 'DBA.php';
@@ -72,7 +72,7 @@
* The sync function calls fflush on the data and index files.
*
* @author Brent Cook
- * @version 0.9.3
+ * @version 0.9.4
* @access public
* @package DBA
*/