| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Per bug #76651 these changes do not appear to work correctly in
some cases. As no immediate fix seems to be forthcoming, I'm
reverting these changes.
Revert "Fixed invalid free introduced by d6e81f0bfd0cb90586dd83d4fd47a4302605261a (avoid keeping "invalid" pointer)"
This reverts commit 11507c0e1bfa17a96480f3648397f6975c31551e.
Revert "Fix mysqlnd build without openssl"
This reverts commit 6c9db02ff7812c298d1e7e292ba731d9d3a66790.
Revert "Fix VC compilation as variable size array is not supported"
This reverts commit f96df64cb2219fda42ca875483f874cf3052647c.
Revert "Fix MySQL 8 auth"
This reverts commit d6e81f0bfd0cb90586dd83d4fd47a4302605261a.
|
| |
|
| |
|
| |
|
|
|
|
| |
Both are caused by the same cast issue in mysqlnd on 32-bit.
|
|\ |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
We don't want to decrement the pointer...
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| | |
Fixes bug #73800
news entry for PR #2250
|
| |
| |
| |
| |
| |
| | |
Fixes bug #73800
news entry for PR #2249
|
| |
| |
| |
| | |
memory usage.
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The problem was manifestated only with BIT columns and only when more than
one row was fetched. The problem was coming from the fact that in pre-7.0
times mysqlnd was using a no-copy optimization. This optimization kept the
strings (and also the BIT mask equivalents as strings) in the packet and the
zval referred to them. 7.0+ zvals cannot use no-copy and always copy. Because
of this the allocated memory for the packet was reduced by 1 by the person who
ported the driver, but the starting address of the bit area wasn't reduced.
Because of this the bit_area started at wrong address and the length decoded
wrong.
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| |
| | |
Drops 24 bytes from each chunk. For the example in bug #71468 it
reduces memory usage by 30%.
|
|\ \
| |/
| |
| |
| |
| |
| | |
* 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)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
- move the command buffer out of the networking code to the protocol frame
codec.
|
| | |
| | |
| | |
| | |
| | | |
- less dereferencing in mysqlnd_ps . Dereference stmt->conn only once and
use a stack variable. Also make the source cleaner.
|
| | |
| | |
| | |
| | | |
- remove unused macros
|
| | |
| | |
| | |
| | | |
- move things out of mysqlnd_priv.h
|
| | |
| | |
| | |
| | | |
- remove inclusion of uneeded headers
|
| | |
| | |
| | |
| | | |
- move the command factory to own file - mysqlnd_commands.c
|
| | |
| | |
| | |
| | | |
- move all data members from MYSQLND_PFC to MYSQLND_PFC_DATA
|
| | |
| | |
| | |
| | | |
- 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.
|
| | |
| | |
| | |
| | |
| | | |
- intermediate step to move MYSQLND_NET from mysqlnd_vio.c to mysqlnd_wireprotocol.c
In following commits MYSQLND_NET's methods and data will be moved to MYSQLND_PROTOCOL
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- 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.
|
| | |
| | |
| | |
| | | |
- some small renaming of methods
|
| | |
| | |
| | |
| | | |
- send_command and send_command_handle_response_* moved to a structure
|
| | |
| | |
| | |
| | | |
- move connection establishment code to own command - COM_HANDSHAKE
|
| | |
| | |
| | |
| | | |
- decouple the commands from the connection. CONN ist passed now only in 1 case
|
| | |
| | |
| | |
| | | |
- remove dead code
|
| | |
| | |
| | |
| | | |
- clean up some things
|
| | |
| | |
| | |
| | | |
- move COM_INIT_DE result handling to the command
|
| | |
| | |
| | |
| | | |
- remove COM_FIELD_LIST
|
| | |
| | |
| | |
| | | |
- move handling of commands to the command itself
|