georg           Mon Oct  9 04:46:03 2006 UTC

  Modified files:              
    /php-src/ext/mysqli config.m4 
  Log:
  Fix for bug #39085:
  PHP6 requires mysqli_set_character_set function which was introduced in 
  MySQL 4.1.13 and 5.0.7
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/config.m4?r1=1.24&r2=1.25&diff_format=u
Index: php-src/ext/mysqli/config.m4
diff -u php-src/ext/mysqli/config.m4:1.24 php-src/ext/mysqli/config.m4:1.25
--- php-src/ext/mysqli/config.m4:1.24   Thu Jun  1 19:15:31 2006
+++ php-src/ext/mysqli/config.m4        Mon Oct  9 04:46:03 2006
@@ -1,5 +1,5 @@
 dnl
-dnl $Id: config.m4,v 1.24 2006/06/01 19:15:31 mike Exp $
+dnl $Id: config.m4,v 1.25 2006/10/09 04:46:03 georg Exp $
 dnl config.m4 for extension mysqli
 
 PHP_ARG_WITH(mysqli, for MySQLi support,
@@ -49,9 +49,9 @@
     PHP_EVAL_INCLINE($MYSQLI_INCLINE)
     PHP_EVAL_LIBLINE($MYSQLI_LIBLINE, MYSQLI_SHARED_LIBADD)
     AC_DEFINE(HAVE_MYSQLILIB,1,[ ])
-    PHP_CHECK_LIBRARY($MYSQL_LIB_NAME, mysql_stmt_field_count,
+    PHP_CHECK_LIBRARY($MYSQL_LIB_NAME, mysql_set_character_set,
     [ ],[
-               AC_MSG_ERROR([MySQLI doesn't support versions < 4.1.3 (for 
MySQL 4.1.x) and < 5.0.1 for (MySQL 5.0.x) anymore. Please update your 
libraries.])
+               AC_MSG_ERROR([MySQLI doesn't support versions < 4.1.13 (for 
MySQL 4.1.x) and < 5.0.7 for (MySQL 5.0.x) anymore. Please update your 
libraries.])
        ],[$MYSQLI_LIBLINE])
   ],[
     AC_MSG_ERROR([wrong mysql library version or lib not found. Check 
config.log for more information.])

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

Reply via email to