From 1c8c3c063bbc57ab51b7b60c7f0927974072513e Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Thu, 13 Oct 2005 21:26:08 +0000 Subject: [PATCH] Fixed test failure --- ext/mysqli/tests/bug33491.phpt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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