From d18cdaf6dd1092de22f562d1efe6c8062fb7f089 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 13 Oct 2005 21:26:45 +0000 Subject: [PATCH] MFH: fix test failures --- ext/mysqli/tests/009.phpt | 2 +- ext/mysqli/tests/bug33491.phpt | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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()'); ?> -- 2.50.1