summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_loaddata.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix #80329: Add option to specify LOAD DATA LOCAL white list folderDarek Slusarczyk2021-02-231-3/+42
| | | | | | | | | | | | | | | | | * allow the user to specify a folder where files that can be sent via LOAD DATA LOCAL can exist * add mysqli.local_infile_directory for mysqli (ignored if mysqli.allow_local_infile is enabled) * add PDO::MYSQL_ATTR_LOCAL_INFILE_DIRECTORY for pdo_mysql (ignored if PDO::MYSQL_ATTR_LOCAL_INFILE is enabled) * add related tests * fixes for building with libmysql 8.x * small improvement in existing tests * update php.ini-[development|production] files Closes GH-6448. Co-authored-by: Nikita Popov <nikic@php.net>
* Replace zend_bool uses with boolNikita Popov2021-01-151-1/+1
| | | | | | | We're starting to see a mix between uses of zend_bool and bool. Replace all usages with the standard bool type everywhere. Of course, zend_bool is retained as an alias.
* Avoid throwing warnings in mysqlndDharman2021-01-041-1/+0
| | | | | | Instead report them as proper client errors. Closes GH-6530.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-05-221-0/+2
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-05-221-0/+2
| |\
| | * Fix #77956 - When mysqli.allow_local_infile = Off, return a client errorSjon Hortensius2019-05-221-0/+2
| | |
| * | Merge branch 'PHP-7.2' into PHP-7.3Anatol Belski2019-01-091-1/+1
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Revert visibility
| | * Revert visibilityAndrey Hristov2019-01-091-1/+1
| | | | | | | | | | | | (cherry picked from commit 71ffae9605a0b19f4c7a76d317276c934a767a65)
| | * year++Xinchen Hui2018-01-021-1/+1
| | |
* | | Update and fix remaining year ranges (2019)Peter Kokot2019-02-081-1/+1
| | | | | | | | | | | | | | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* | | Remove local variablesPeter Kokot2019-02-031-9/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch removes the so called local variables defined per file basis for certain editors to properly show tab width, and similar settings. These are mainly used by Vim and Emacs editors yet with recent changes the once working definitions don't work anymore in Vim without custom plugins or additional configuration. Neither are these settings synced across the PHP code base. A simpler and better approach is EditorConfig and fixing code using some code style fixing tools in the future instead. This patch also removes the so called modelines for Vim. Modelines allow Vim editor specifically to set some editor configuration such as syntax highlighting, indentation style and tab width to be set in the first line or the last 5 lines per file basis. Since the php test files have syntax highlighting already set in most editors properly and EditorConfig takes care of the indentation settings, this patch removes these as well for the Vim 6.0 and newer versions. With the removal of local variables for certain editors such as Emacs and Vim, the footer is also probably not needed anymore when creating extensions using ext_skel.php script. Additionally, Vim modelines for setting php syntax and some editor settings has been removed from some *.phpt files. All these are mostly not relevant for phpt files neither work properly in the middle of the file.
* | | Revert visibilityAndrey Hristov2019-01-041-1/+1
|/ /
* | year++Xinchen Hui2018-01-021-1/+1
| |
* | Made "result", "statement" and "last_message" to always use Zend MM heap. ↵Dmitry Stogov2017-11-021-2/+1
|/ | | | (even for persistent connections these entities don't relive request boundary)
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-3/+3
|\
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-3/+3
| |
* | Merge branch 'PHP-7.0'Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | | | | | * PHP-7.0: Update header to PHP Version 7 Happy new year (Update copyright to 2016) Happy new year (Update copyright to 2016)
| * Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | MNDR:Andrey Hristov2015-11-121-1/+0
| | | | | | | | | | | | - remove inclusion of uneeded headers
* | | MNDR:Andrey Hristov2015-11-121-2/+1
| | | | | | | | | | | | - better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
* | | MNDR:Andrey Hristov2015-11-121-1/+1
| | | | | | | | | | | | | | | - rename MYSQLND_NET to MYSQLND_PPEC (protocol packet envelope codec). PPEC does only the encoding and decoding to the protocol frame.
* | | MNDR:Andrey Hristov2015-11-121-4/+5
| | | | | | | | | | | | | | | | | | | | | - split MYSQLND_NET into MYSQLND_NET and MYSQLND_VIO MYSQLND_NET is above MYSQLND_VIO. _NET takes care of protocol packet counting (even with compressed), while VIO is just about the network (or in case of windows, non-network, but PIPE) transport.
* | | MNDR:Andrey Hristov2015-11-121-6/+7
| | | | | | | | | | | | - send_command and send_command_handle_response_* moved to a structure
* | | MNDR:Andrey Hristov2015-11-121-2/+6
| | | | | | | | | | | | - split handle_response() into handle_OK and handle_EOF
* | | MNDR:Andrey Hristov2015-11-121-2/+3
| | | | | | | | | | | | | | | - now send_command_handle_response() also doesn't depend directly on MYSQLND_CONN_DATA
* | | MNDR:Andrey Hristov2015-11-121-4/+4
| | | | | | | | | | | | - make MYSQLND_ERROR_INFO a class
* | | MNDRAndrey Hristov2015-11-121-1/+1
|/ / | | | | | | - Rename simple_command* to send_command
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-17/+17
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | First set of phpng changes for mysqlndAndrey Hristov2014-05-201-18/+4
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-061-1/+1
| |\
| | * bump yearXinchen Hui2013-01-061-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * Fix more warnings about size_tAndrey Hristov2011-02-011-2/+2
| | |
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * fix some uninitialized variables. also fix shadowing of global symbolsAndrey Hristov2010-10-071-2/+4
| | |
| | * WS fixesAndrey Hristov2010-09-231-1/+1
| | |
| | * Bail if allocation failsAndrey Hristov2010-05-311-1/+6
| | |
| | * - Fix copyrightsFelipe Pena2010-04-201-2/+2
| | |
| | * CS + WS changesAndrey Hristov2010-04-151-11/+9
| | |
| | * refactoring : move more network related functions toAndrey Hristov2009-12-171-4/+4
| | | | | | | | | | | | | | | | | | | | | mysqlnd_net.c . Now communication is split on two levels: - logical (functions send and receive) - physical (functions network_read and network_write)
| | * Move two functions which are used in the extension as methods ofAndrey Hristov2009-12-111-7/+1
| | | | | | | | | | | | | | | the connection. Two functions less in the global namespace.
| | * Compressed protocol support + extensibility for mysqlndAndrey Hristov2009-11-201-2/+2
| | |