cvs: pear /DB/DB mysqli.php
| From: | Daniel Convissor | Date: | Thu, 29 Apr 2004 20:53:19 +0000 |
| Subject: | cvs: pear /DB/DB mysqli.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-18985@lists.php.net to get a copy of this message | ||
danielc Thu Apr 29 16:53:19 2004 EDT
Modified files:
/pear/DB/DB mysqli.php
Log:
Set dsn property in connect().
http://cvs.php.net/diff.php/pear/DB/DB/mysqli.php?r1=1.24&r2=1.25&ty=u
Index: pear/DB/DB/mysqli.php
diff -u pear/DB/DB/mysqli.php:1.24 pear/DB/DB/mysqli.php:1.25
--- pear/DB/DB/mysqli.php:1.24 Thu Apr 29 16:31:23 2004
+++ pear/DB/DB/mysqli.php Thu Apr 29 16:53:19 2004
@@ -16,7 +16,7 @@
// | Author: Daniel Convissor <danielc@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: mysqli.php,v 1.24 2004/04/29 20:31:23 danielc Exp $
+// $Id: mysqli.php,v 1.25 2004/04/29 20:53:19 danielc Exp $
// EXPERIMENTAL
@@ -33,7 +33,7 @@
* Note that persistent connections no longer exist.
*
* @package DB
- * @version $Id: mysqli.php,v 1.24 2004/04/29 20:31:23 danielc Exp $
+ * @version $Id: mysqli.php,v 1.25 2004/04/29 20:53:19 danielc Exp $
* @category Database
* @author Daniel Convissor <danielc@php.net>
*/
@@ -109,8 +109,9 @@
return $this->raiseError(DB_ERROR_EXTENSION_NOT_FOUND);
}
+ $this->dsn = $dsninfo;
+ $conn = false;
@ini_set('track_errors', true);
- $conn = false;
if ($this->getOption('ssl') === true) {
$init = mysqli_init();