From: Ilia Alshanetsky Date: Thu, 13 Oct 2005 21:26:08 +0000 (+0000) Subject: Fixed test failure X-Git-Tag: RELEASE_0_9_1~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1c8c3c063bbc57ab51b7b60c7f0927974072513e;p=php Fixed test failure --- diff --git a/ext/mysqli/tests/bug33491.phpt b/ext/mysqli/tests/bug33491.phpt index fb25c8ec63..067e489aae 100644 --- a/ext/mysqli/tests/bug33491.phpt +++ b/ext/mysqli/tests/bug33491.phpt @@ -15,8 +15,10 @@ class DB extends mysqli } } +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()'); ?>