List:Commits« Previous MessageNext Message »
From:uwendel Date:July 20 2007 5:04pm
Subject:PHP mysqlnd svn commit: r819 - trunk/tests/ext/mysqli
View as plain text  
Author: uwendel
Date: 2007-07-20 19:04:30 +0200 (Fri, 20 Jul 2007)
New Revision: 819

Modified:
   trunk/tests/ext/mysqli/067.phpt
Log:
Failed because of a type


Modified: trunk/tests/ext/mysqli/067.phpt
===================================================================
--- trunk/tests/ext/mysqli/067.phpt	2007-07-20 16:23:35 UTC (rev 818)
+++ trunk/tests/ext/mysqli/067.phpt	2007-07-20 17:04:30 UTC (rev 819)
@@ -30,17 +30,16 @@
 	}
 
 	include "connect.inc";
+	$mysql = new mysqli($host, $user, $passwd, $db, $port, $socket);
+
 	if ((!$IS_MYSQLND && mysqli_get_client_version() < 50009) ||
-		(mysqli_get_server_version($link) < 50009)) {
+		(mysqli_get_server_version($mysql) < 50009)) {
 		/* we really want to skip it... */
 		die(var_dump(63));
 	}
 
 	$a = array();
 
-	/*** test mysqli_connect 127.0.0.1 ***/
-	$mysql = new mysqli($host, $user, $passwd, $db, $port, $socket);
-
 	for ($i=0;$i < 3; $i++) {
 		$mysql->query("DROP TABLE IF EXISTS cursor$i");
 		$mysql->query("CREATE TABLE cursor$i (a int not null) ENGINE=" . $engine);

Thread
PHP mysqlnd svn commit: r819 - trunk/tests/ext/mysqliuwendel20 Jul