diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-11 11:20:33 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-11 11:25:36 +0100 |
commit | 43741a3f26c5094fa818f60744f11139940ccf08 (patch) | |
tree | a5c431c041b931a758a50cdb5ee1308b27d58fbe /ext/pdo_mysql/php_pdo_mysql_int.h | |
parent | c927c831e65cdf6aa6152d49820e58e6288a5dcc (diff) | |
download | php-git-43741a3f26c5094fa818f60744f11139940ccf08.tar.gz |
Fixed bug #62889
Our minimum libmysqlclient version requirement is high enough
that we don't need to check for MYSQL_OPT_LOCAL_INFILE support.
However, the mysql_get_option() function seems to only be available
since 5.7 (though it's really hard to find any definitie information
on when MySQL introduced certain functions or changes...) so we
need to store the value of the flag locally to make it available
through getAttribute().
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rw-r--r-- | ext/pdo_mysql/php_pdo_mysql_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h index 7ebf875085..fe7f149d84 100644 --- a/ext/pdo_mysql/php_pdo_mysql_int.h +++ b/ext/pdo_mysql/php_pdo_mysql_int.h @@ -104,6 +104,7 @@ typedef struct { unsigned buffered:1; unsigned emulate_prepare:1; unsigned fetch_table_names:1; + unsigned local_infile:1; #ifndef PDO_USE_MYSQLND zend_ulong max_buffer_size; #endif |