]> granicus.if.org Git - php/commitdiff
MFH: fix test failures
authorIlia Alshanetsky <iliaa@php.net>
Thu, 13 Oct 2005 21:26:45 +0000 (21:26 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Thu, 13 Oct 2005 21:26:45 +0000 (21:26 +0000)
ext/mysqli/tests/009.phpt
ext/mysqli/tests/bug33491.phpt

index 0647a8e1400683df9b33cffd08167ff93f5e8966..62a56241a447cb45c6cd0b3de45fbfa11363f04c 100644 (file)
@@ -54,7 +54,7 @@ array(7) {
   [4]=>
   int(0)
   [5]=>
-  int(0)
+  string(13) "-333333333333"
   [6]=>
   int(100)
 }
index fb25c8ec63885819ed6949e5a69f75aa21042196..067e489aae4bb7352032f407a35b86e6a6535c62 100644 (file)
@@ -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()');
 
 ?>