Fix broken build.

This constant is not in older versions of MySQL.
This commit is contained in:
Rasmus Lerdorf 2009-12-01 21:39:19 +00:00
parent 71dd1dfd16
commit 19ab7c5e90

View File

@ -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