cvs: pear /DB DB.php
| From: | Daniel Convissor | Date: | Sun, 04 Jan 2004 22:51:27 +0000 |
| Subject: | cvs: pear /DB DB.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-15353@lists.php.net to get a copy of this message | ||
danielc Sun Jan 4 17:51:27 2004 EDT
Modified files:
/pear/DB DB.php
Log:
Add index named 'mode' to the $parsed array in DB::parseDSN() to accommodate sqlite.
Solves undefined index notice in sqlite.php on line 159.
Index: pear/DB/DB.php
diff -u pear/DB/DB.php:1.28 pear/DB/DB.php:1.29
--- pear/DB/DB.php:1.28 Sat Jan 3 02:01:45 2004
+++ pear/DB/DB.php Sun Jan 4 17:51:27 2004
@@ -18,7 +18,7 @@
// | Tomas V.V.Cox <cox@idecnet.com> |
// +----------------------------------------------------------------------+
//
-// $Id: DB.php,v 1.28 2004/01/03 07:01:45 danielc Exp $
+// $Id: DB.php,v 1.29 2004/01/04 22:51:27 danielc Exp $
//
// Database independent query interface.
//
@@ -194,7 +194,7 @@
* @author Stig Bakken <ssb@php.net>
* @author Tomas V.V.Cox <cox@idecnet.com>
* @since PHP 4.0
- * @version $Id: DB.php,v 1.28 2004/01/03 07:01:45 danielc Exp $
+ * @version $Id: DB.php,v 1.29 2004/01/04 22:51:27 danielc Exp $
* @category Database
*/
@@ -475,6 +475,7 @@
'hostspec' => false,
'port' => false,
'socket' => false,
+ 'mode' => false,
'database' => false
);