]> granicus.if.org Git - php/commitdiff
- Fix warning
authorDerick Rethans <derick@php.net>
Tue, 12 Nov 2002 08:11:23 +0000 (08:11 +0000)
committerDerick Rethans <derick@php.net>
Tue, 12 Nov 2002 08:11:23 +0000 (08:11 +0000)
ext/mysql/php_mysql.c

index 5618cbd86c9de124d50bab221b9fa726ce98afa4..051ede3ca2a0f5479c0e1229649c001d4c0948eb 100644 (file)
@@ -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;