List:Commits« Previous MessageNext Message »
From:ahristov Date:August 17 2007 9:23am
Subject:PHP mysqlnd svn commit: r918 - trunk/tests/ext/mysqli
View as plain text  
Author: ahristov
Date: 2007-08-17 09:23:29 +0200 (Fri, 17 Aug 2007)
New Revision: 918

Modified:
   trunk/tests/ext/mysqli/mysqli_pconn_kill.phpt
Log:
No mysql_ functions in mysqli_ test


Modified: trunk/tests/ext/mysqli/mysqli_pconn_kill.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_pconn_kill.phpt	2007-08-16 13:27:54 UTC (rev 917)
+++ trunk/tests/ext/mysqli/mysqli_pconn_kill.phpt	2007-08-17 07:23:29 UTC (rev 918)
@@ -69,8 +69,9 @@
 	if (!$plink = @mysqli_connect($host, $user, $passwd, $db, $port, $socket))
 		printf("[011] Cannot connect to the server using host=%s, user=%s, passwd=***,
dbname=%s, port=%s, socket=%s\n",
 			$host, $user, $db, $port, $socket);
-	if (!$res3 = @mysql_query($plink, 'SELECT id FROM test ORDER BY id LIMIT 1'))
+	if (!$res3 = @mysqli_query($plink, 'SELECT id FROM test ORDER BY id LIMIT 1')) {
 		printf("[012] New persistent connection cannot execute queries, [%d] %s\n",
@mysqli_errno($plink), @mysqli_error($plink));
+	}
 
 	@mysqli_free_result($res3);
 	@mysqli_close($plink);
@@ -81,7 +82,7 @@
 	if (!$link = mysqli_connect($host, $user, $passwd, $db, $port, $socket))
 		printf("[013] Cannot connect to the server using host=%s, user=%s, passwd=***,
dbname=%s, port=%s, socket=%s\n",
 			$host, $user, $db, $port, $socket);
-	if (!$res4 = mysql_query($link, 'SELECT id FROM test ORDER BY id LIMIT 1'))
+	if (!$res4 = mysqli_query($link, 'SELECT id FROM test ORDER BY id LIMIT 1'))
 		printf("[014] New regular connection cannot execute queries, [%d] %s\n",
mysqli_errno($link), mysqli_error($link));
 
 	mysqli_free_result($res4);
@@ -91,4 +92,4 @@
 --EXPECTF--
 done!
 --UEXPECTF--
-done!
\ No newline at end of file
+done!

Thread
PHP mysqlnd svn commit: r918 - trunk/tests/ext/mysqliahristov17 Aug