cvs: php-src /ext/mysqli/tests bug33491.phpt
| From: | Ilia Alshanetsky | Date: | Thu, 13 Oct 2005 21:26:08 +0000 |
| Subject: | cvs: php-src /ext/mysqli/tests bug33491.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-34592@lists.php.net to get a copy of this message | ||
iliaa Thu Oct 13 17:26:08 2005 EDT
Modified files:
/php-src/ext/mysqli/tests bug33491.phpt
Log:
Fixed test failure
http://cvs.php.net/diff.php/php-src/ext/mysqli/tests/bug33491.phpt?r1=1.1&r2=1.2&ty=u
Index: php-src/ext/mysqli/tests/bug33491.phpt
diff -u php-src/ext/mysqli/tests/bug33491.phpt:1.1 php-src/ext/mysqli/tests/bug33491.phpt:1.2
--- php-src/ext/mysqli/tests/bug33491.phpt:1.1 Mon Jun 27 15:07:52 2005
+++ php-src/ext/mysqli/tests/bug33491.phpt Thu Oct 13 17:26:08 2005
@@ -15,8 +15,10 @@
}
}
+require_once dirname(__FILE__)."/connect.inc";
+
// Segfault when using the DB class which extends mysqli
-$DB = new DB('localhost', 'root', '', '');
+$DB = new DB($host, $user, $passwd, '');
$DB->query_single('SELECT DATE()');
?>