From: Ilia Alshanetsky Date: Thu, 13 Oct 2005 21:26:45 +0000 (+0000) Subject: MFH: fix test failures X-Git-Tag: php-5.1.0RC2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d18cdaf6dd1092de22f562d1efe6c8062fb7f089;p=php MFH: fix test failures --- diff --git a/ext/mysqli/tests/009.phpt b/ext/mysqli/tests/009.phpt index 0647a8e140..62a56241a4 100644 --- a/ext/mysqli/tests/009.phpt +++ b/ext/mysqli/tests/009.phpt @@ -54,7 +54,7 @@ array(7) { [4]=> int(0) [5]=> - int(0) + string(13) "-333333333333" [6]=> int(100) } 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()'); ?>