From: Rasmus Lerdorf Date: Tue, 1 Dec 2009 21:39:19 +0000 (+0000) Subject: Fix broken build. X-Git-Tag: php-5.4.0alpha1~191^2~2314 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=19ab7c5e9098416b0ff1c24eb03721cefc347a6c;p=php Fix broken build. This constant is not in older versions of MySQL. --- diff --git a/ext/mysqli/mysqli_api.c b/ext/mysqli/mysqli_api.c index 3655b5bf35..35f46eccd1 100644 --- a/ext/mysqli/mysqli_api.c +++ b/ext/mysqli/mysqli_api.c @@ -1657,7 +1657,9 @@ static int mysqli_options_get_option_zval_type(int option) #endif #endif /* MYSQLI_USE_MYSQLND */ case MYSQL_OPT_CONNECT_TIMEOUT: +#ifdef MYSQL_REPORT_DATA_TRUNCATION case MYSQL_REPORT_DATA_TRUNCATION: +#endif case MYSQL_OPT_LOCAL_INFILE: case MYSQL_OPT_NAMED_PIPE: #ifdef MYSQL_OPT_PROTOCOL