From: Derick Rethans Date: Tue, 12 Nov 2002 08:11:23 +0000 (+0000) Subject: - Fix warning X-Git-Tag: php-4.3.0RC1~93 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28d3be43a3695cb29f40db1f86d2f6b85e32889a;p=php - Fix warning --- diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 5618cbd86c..051ede3ca2 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -506,7 +506,9 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent) int hashed_details_length, port = MYSQL_PORT; int client_flags = 0; php_mysql_conn *mysql=NULL; +#if MYSQL_VERSION_ID <= 32230 void (*handler) (int); +#endif zval **z_host=NULL, **z_user=NULL, **z_passwd=NULL, **z_new_link=NULL, **z_client_flags=NULL; zend_bool free_host=0, new_link=0; long connect_timeout;