| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
Instead report them as proper client errors.
Closes GH-6530.
|
|
|
|
| |
Closes GH-4732.
|
|\ |
|
| |\ |
|
| | | |
|
| |\ \
| | |/
| | |
| | |
| | | |
* PHP-7.2:
Revert visibility
|
| | |
| | |
| | |
| | | |
(cherry picked from commit 71ffae9605a0b19f4c7a76d317276c934a767a65)
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
This patch follows previous license year ranges updates. With new
approach source code files now have simplified headers with license
information without year ranges.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|/ / |
|
| | |
|
|/
|
|
| |
(even for persistent connections these entities don't relive request boundary)
|
| |
|
|\ |
|
| | |
|
|\ \
| |/
| |
| |
| |
| |
| | |
* PHP-7.0:
Update header to PHP Version 7
Happy new year (Update copyright to 2016)
Happy new year (Update copyright to 2016)
|
| |\
| | |
| | |
| | |
| | | |
* PHP-5.6:
Happy new year (Update copyright to 2016)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
- remove inclusion of uneeded headers
|
| | |
| | |
| | |
| | | |
- better name for MYSQLND_PPEC - MYSQLND_PFC (protocol frame codec)
|
| | |
| | |
| | |
| | |
| | | |
- rename MYSQLND_NET to MYSQLND_PPEC (protocol packet envelope codec).
PPEC does only the encoding and decoding to the protocol frame.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| | |
| | |
| | |
| | | |
- send_command and send_command_handle_response_* moved to a structure
|
| | |
| | |
| | |
| | | |
- split handle_response() into handle_OK and handle_EOF
|
| | |
| | |
| | |
| | |
| | | |
- now send_command_handle_response() also doesn't depend directly on
MYSQLND_CONN_DATA
|
| | |
| | |
| | |
| | | |
- make MYSQLND_ERROR_INFO a class
|
|/ /
| |
| |
| | |
- Rename simple_command* to send_command
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|
|\ |
|
| |\ |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
mysqlnd_net.c . Now communication is split on two levels:
- logical (functions send and receive)
- physical (functions network_read and network_write)
|
| | |
| | |
| | |
| | |
| | | |
the connection. Two functions less in the global namespace.
|
| | | |
|