mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
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().
This commit is contained in:
parent
c927c831e6
commit
43741a3f26
3 changed files with 21 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue