kalle           Sat May 23 02:58:16 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src/ext/mysqli mysqli_api.c 
  Log:
  Fixed compiler warning again, uint8_t is only available with mysqlnd. This is 
not affecting HEAD
  
http://cvs.php.net/viewvc.cgi/php-src/ext/mysqli/mysqli_api.c?r1=1.118.2.22.2.16.2.26&r2=1.118.2.22.2.16.2.27&diff_format=u
Index: php-src/ext/mysqli/mysqli_api.c
diff -u php-src/ext/mysqli/mysqli_api.c:1.118.2.22.2.16.2.26 
php-src/ext/mysqli/mysqli_api.c:1.118.2.22.2.16.2.27
--- php-src/ext/mysqli/mysqli_api.c:1.118.2.22.2.16.2.26        Wed May 20 
13:10:49 2009
+++ php-src/ext/mysqli/mysqli_api.c     Sat May 23 02:58:15 2009
@@ -17,7 +17,7 @@
   |          Ulf Wendel <u...@php.net>                                     |
   +----------------------------------------------------------------------+
 
-  $Id: mysqli_api.c,v 1.118.2.22.2.16.2.26 2009/05/20 13:10:49 iliaa Exp $ 
+  $Id: mysqli_api.c,v 1.118.2.22.2.16.2.27 2009/05/23 02:58:15 kalle Exp $ 
 */
 
 #ifdef HAVE_CONFIG_H
@@ -2081,7 +2081,11 @@
                return;
        }
        MYSQLI_FETCH_RESOURCE(mysql, MY_MYSQL *, &mysql_link, "mysqli_link", 
MYSQLI_STATUS_INITIALIZED);
+#ifdef MYSQLI_USE_MYSQLND
+       RETURN_BOOL(!mysql_refresh(mysql->mysql, (uint8_t) options));
+#else
        RETURN_BOOL(!mysql_refresh(mysql->mysql, options));
+#endif
 }
 /* }}} */
  



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

Reply via email to