List:Commits« Previous MessageNext Message »
From:uwendel Date:January 8 2008 1:22pm
Subject:PHP mysqlnd svn commit: r1188 - trunk/tests/ext/mysqli
View as plain text  
Author: uwendel
Date: 2008-01-08 13:22:40 +0100 (Tue, 08 Jan 2008)
New Revision: 1188

Modified:
   trunk/tests/ext/mysqli/mysqli_stmt_send_long_data.phpt
Log:
Merge from php.net - fix for MySQL 6


Modified: trunk/tests/ext/mysqli/mysqli_stmt_send_long_data.phpt
===================================================================
--- trunk/tests/ext/mysqli/mysqli_stmt_send_long_data.phpt	2008-01-07 10:33:57 UTC (rev
1187)
+++ trunk/tests/ext/mysqli/mysqli_stmt_send_long_data.phpt	2008-01-08 12:22:40 UTC (rev
1188)
@@ -49,6 +49,10 @@
 
 	mysqli_free_result($res);
 
+	if (isset($row['VARIABLE_VALUE']) && !isset($row['Value']))
+		// MySQL 6.0
+		$row['Value'] = $row['VARIABLE_VALUE'];
+
 	if (0 === ($max_allowed_packet = (int)$row['Value']))
 		printf("[011] Cannot determine max_allowed_packet size and/or bogus max_allowed_packet
setting used.\n");
 

Thread
PHP mysqlnd svn commit: r1188 - trunk/tests/ext/mysqliuwendel8 Jan