iliaa           Thu Oct 13 17:26:45 2005 EDT

  Modified files:              (Branch: PHP_5_1)
    /php-src/ext/mysqli/tests   bug33491.phpt 009.phpt 
  Log:
  MFH: fix test failures
  
  
http://cvs.php.net/diff.php/php-src/ext/mysqli/tests/bug33491.phpt?r1=1.1&r2=1.1.2.1&ty=u
Index: php-src/ext/mysqli/tests/bug33491.phpt
diff -u php-src/ext/mysqli/tests/bug33491.phpt:1.1 
php-src/ext/mysqli/tests/bug33491.phpt:1.1.2.1
--- php-src/ext/mysqli/tests/bug33491.phpt:1.1  Mon Jun 27 15:07:52 2005
+++ php-src/ext/mysqli/tests/bug33491.phpt      Thu Oct 13 17:26:45 2005
@@ -15,8 +15,10 @@
   }
 }
 
+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()');
 
 ?>
http://cvs.php.net/diff.php/php-src/ext/mysqli/tests/009.phpt?r1=1.6.2.1&r2=1.6.2.2&ty=u
Index: php-src/ext/mysqli/tests/009.phpt
diff -u php-src/ext/mysqli/tests/009.phpt:1.6.2.1 
php-src/ext/mysqli/tests/009.phpt:1.6.2.2
--- php-src/ext/mysqli/tests/009.phpt:1.6.2.1   Sat Oct  8 11:08:07 2005
+++ php-src/ext/mysqli/tests/009.phpt   Thu Oct 13 17:26:45 2005
@@ -54,7 +54,7 @@
   [4]=>
   int(0)
   [5]=>
-  int(0)
+  string(13) "-333333333333"
   [6]=>
   int(100)
 }

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to