uw              Tue Jan  8 13:16:00 2008 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/mysqli/tests   mysqli_stmt_send_long_data.phpt 
  Log:
  MySQL 6 compatibility fix.
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/tests/mysqli_stmt_send_long_data.phpt?r1=1.2.2.2&r2=1.2.2.3&diff_format=u
Index: php-src/ext/mysqli/tests/mysqli_stmt_send_long_data.phpt
diff -u php-src/ext/mysqli/tests/mysqli_stmt_send_long_data.phpt:1.2.2.2 
php-src/ext/mysqli/tests/mysqli_stmt_send_long_data.phpt:1.2.2.3
--- php-src/ext/mysqli/tests/mysqli_stmt_send_long_data.phpt:1.2.2.2    Wed Oct 
10 10:18:50 2007
+++ php-src/ext/mysqli/tests/mysqli_stmt_send_long_data.phpt    Tue Jan  8 
13:16:00 2008
@@ -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");
 

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to