List:Commits« Previous MessageNext Message »
From:uwendel Date:September 13 2007 4:02pm
Subject:PHP mysqlnd svn commit: r1035 - trunk/tests/ext/mysql
View as plain text  
Author: uwendel
Date: 2007-09-13 16:01:59 +0200 (Thu, 13 Sep 2007)
New Revision: 1035

Modified:
   trunk/tests/ext/mysql/mysql_pconn_reuse.phpt
Log:
While we are at it, we can that one as well...


Modified: trunk/tests/ext/mysql/mysql_pconn_reuse.phpt
===================================================================
--- trunk/tests/ext/mysql/mysql_pconn_reuse.phpt	2007-09-13 13:58:23 UTC (rev 1034)
+++ trunk/tests/ext/mysql/mysql_pconn_reuse.phpt	2007-09-13 14:01:59 UTC (rev 1035)
@@ -53,9 +53,14 @@
 	if (mysql_thread_id($plink) == $thread_id)
 		printf("[006] Looks like connect() did not return a new connection.\n");
 
+	if (($link = mysql_connect($myhost, $user, $passwd, true)))
+		printf("[007] Can connect although limit has been reached, [%d] %s\n", mysql_errno(),
mysql_error());
+
 	print "done!";
 ?>
 --EXPECTF--
 [001] Can connect to the server.
 [002] Can fetch data using persistent connection! Data = '1'
+
+Warning: mysql_connect(): Too many open links (2) in %s on line %d
 done!
\ No newline at end of file

Thread
PHP mysqlnd svn commit: r1035 - trunk/tests/ext/mysqluwendel13 Sep