Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

PHP mysqlnd svn commit: r918 - trunk/tests/ext/mysqli

From: <ahristov(at)mysql.com>
Date: Fri Aug 17 2007 - 03:23:29 EDT


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!
-- 
MySQL Code Commits Mailing List
For list archives: 
http://lists.mysql.com/commits
To unsubscribe:    
http://lists.mysql.com/commits?unsub=lists@pantek.com
Received on Fri Aug 17 03:23:51 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 08:37:24 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library