| 062519e |
|
30-Apr-2013 |
Johannes Schlüter <johannes@php.net> |
don't include smart_str.h in a too global header, fixes #64718
/php-src/ext/mysqlnd/mysqlnd.c
|
| 666a835 |
|
08-Feb-2013 |
Andrey Hristov <andrey@php.net> |
Add savepoint and rollback to savepoint support
/php-src/ext/mysqlnd/mysqlnd.c
|
| 403d4fb |
|
07-Feb-2013 |
Andrey Hristov <andrey@php.net> |
Export new calls
/php-src/ext/mysqlnd/mysqlnd.c
|
| 49e3d91 |
|
07-Feb-2013 |
Andrey Hristov <andrey@php.net> |
Add the name in a comment at commit/rollback, if provided
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9fb0dba |
|
07-Feb-2013 |
Andrey Hristov <andrey@php.net> |
Add support for commit and rollback options. Add support for explicitly starting a transaction - modes also available. Using the API makes the life of load balancer mysqlnd plugins easier/possible.
/php-src/ext/mysqlnd/mysqlnd.c
|
| c311884 |
|
04-Feb-2013 |
Andrey Hristov <andrey@php.net> |
Merge branch 'PHP-5.4' into PHP-5.5
|
| 740b823 |
|
04-Feb-2013 |
Andrey Hristov <andrey@php.net> |
check the validity of the parameter
/php-src/ext/mysqlnd/mysqlnd.c
|
| acc24d1 |
|
14-Jan-2013 |
Andrey Hristov <andrey@php.net> |
Use two dtors thus allow allocation based on the alloc model of the connection.
/php-src/ext/mysqlnd/mysqlnd.c
|
| d377a26 |
|
15-Jan-2013 |
Andrey Hristov <andrey@php.net> |
plug a leak - forgot ot use the dtor already written
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1ff4352 |
|
15-Jan-2013 |
Andrey Hristov <andrey@php.net> |
Add support for connect attributes, as of MySQL 5.6
/php-src/ext/mysqlnd/mysqlnd.c
|
| 258c76e |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
backport handling of expired passwords in mysqlnd to 5.4
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1f7f842 |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
Merge branch 'PHP-5.4' into PHP-5.5 Conflicts: ext/mysqlnd/mysqlnd.c
|
| bcd278a |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
fix compilation error after merge
/php-src/ext/mysqlnd/mysqlnd.c
|
| cb6071e |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
Merge branch 'PHP-5.4' into PHP-5.5 Conflicts: ext/mysqlnd/mysqlnd.c
|
| 6a6ec19 |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
Merge branch 'PHP-5.3' into PHP-5.4
|
| 12e759c |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
Use during connect the flags set with set_client_option()
/php-src/ext/mysqlnd/mysqlnd.c
|
| ddcb67d |
|
09-Jan-2013 |
Andrey Hristov <andrey@php.net> |
support for password expiration in mysqlnd, through a flag
/php-src/ext/mysqlnd/mysqlnd.c
|
| cbb5d42 |
|
06-Jan-2013 |
Xinchen Hui <laruence@php.net> |
Merge branch 'PHP-5.4' into PHP-5.5
|
| c2f8e90 |
|
06-Jan-2013 |
Xinchen Hui <laruence@php.net> |
Merge branch 'PHP-5.3' into PHP-5.4
|
| bc11e6f |
|
06-Jan-2013 |
Xinchen Hui <laruence@php.net> |
bump year
/php-src/ext/mysqlnd/mysqlnd.c
|
| 225792c |
|
12-Oct-2012 |
Andrey Hristov <andrey@php.net> |
constify
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4c9e222 |
|
03-Oct-2012 |
Andrey Hristov <andrey@php.net> |
if ssl has been switched on transmit clear-text password
/php-src/ext/mysqlnd/mysqlnd.c
|
| c540fe2 |
|
28-Sep-2012 |
Andrey Hristov <andrey@php.net> |
fix login failure with empty password. This is 5.5 specific - new code
/php-src/ext/mysqlnd/mysqlnd.c
|
| 263b37b |
|
25-Sep-2012 |
andrey <andrey@php.net> |
change public key setting to PERDIR and finish code that allows to set the key file programatically per mysqli_options()
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6074df9 |
|
25-Sep-2012 |
andrey <andrey@php.net> |
remove old unicode code, that is was compiled out by using a macro
/php-src/ext/mysqlnd/mysqlnd.c
|
| 571b46b |
|
25-Sep-2012 |
andrey <andrey@php.net> |
Add SHA256 authentication support - password hashing to mysqlnd Automatic switchover to SSL with plain-text password is not part of this
/php-src/ext/mysqlnd/mysqlnd.c
|
| 815874c |
|
22-Aug-2012 |
andrey <andrey@php.net> |
plug a leak when the server ask the client for a auth protocol, that the client doesn't understand. This is 5.5 specific bug, as a result of a refactoring in 5.5
/php-src/ext/mysqlnd/mysqlnd.c
|
| 049abdf |
|
09-Jul-2012 |
andrey <andrey@php.net> |
fix valgrind warning
/php-src/ext/mysqlnd/mysqlnd.c
|
| 555db7d |
|
09-Jul-2012 |
andrey <andrey@php.net> |
fix valgrind warning
/php-src/ext/mysqlnd/mysqlnd.c
|
| c51fbbe |
|
29-Jun-2012 |
andrey <andrey@php.net> |
merge
/php-src/ext/mysqlnd/mysqlnd.c
|
| ed1f058 |
|
29-Jun-2012 |
andrey <andrey@php.net> |
merge
/php-src/ext/mysqlnd/mysqlnd.c
|
| b7dbcbd |
|
29-Jun-2012 |
andrey <andrey@php.net> |
Merge branch 'PHP-5.3' into PHP-5.4
|
| 8fe87e7 |
|
29-Jun-2012 |
andrey <andrey@php.net> |
fix Bug #62273 Segmentation Fault in Mysqli/Mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2c230fb |
|
01-Jun-2012 |
andrey <andrey@php.net> |
close the underlying stream as early as possible and so notify the NET layer
/php-src/ext/mysqlnd/mysqlnd.c
|
| f96d19f |
|
01-Jun-2012 |
andrey <andrey@php.net> |
close the stream whenever possible, no need to keep it open altough the connection is marked as unusable
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0d1bc3e |
|
31-May-2012 |
andrey <andrey@php.net> |
more refactoring stuff. Reduced code duplication in the authentication code
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5a2578a |
|
30-May-2012 |
andrey <andrey@php.net> |
small refactoring - factour out code from connection establishment. Add a define for the default authentication protocol - get away from the hardcoded magic value
/php-src/ext/mysqlnd/mysqlnd.c
|
| 174bf90 |
|
30-Apr-2012 |
andrey <andrey@php.net> |
refactor MYSQLND_NET, split it two parts for easy resharing
/php-src/ext/mysqlnd/mysqlnd.c
|
| bb2f806 |
|
22-Apr-2012 |
Johannes Schlüter <johannes@php.net> |
Fix folding
/php-src/ext/mysqlnd/mysqlnd.c
|
| e4ca0ed |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4e19825 |
|
01-Jan-2012 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/ext/mysqlnd/mysqlnd.c
|
| de50e98 |
|
02-Nov-2011 |
Andrey Hristov <andrey@php.net> |
Add a middleman which can intercept the calls and can reroute them
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2627faf |
|
02-Nov-2011 |
Andrey Hristov <andrey@php.net> |
- shift a bit of code around - when cloning use the methods of the original object
/php-src/ext/mysqlnd/mysqlnd.c
|
| 989f2fb |
|
02-Nov-2011 |
Andrey Hristov <andrey@php.net> |
fix trace log messages
/php-src/ext/mysqlnd/mysqlnd.c
|
| 92ec40d |
|
31-Oct-2011 |
Andrey Hristov <andrey@php.net> |
Now really split the method tables and have different methods for the handle and the data object. Add auxiliary functions to work with the new methods. Add possibility to clone a connection object - shadow copy.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8fb6bdd |
|
31-Oct-2011 |
Andrey Hristov <andrey@php.net> |
Split struct MYSQLND in struct MYSQLND and struct MYSQLD_CONN_DATA. A step in the direction of keeping internal data private
/php-src/ext/mysqlnd/mysqlnd.c
|
| f926a3c |
|
25-Oct-2011 |
Andrey Hristov <andrey@php.net> |
Move from directly referencing an aggregated structure to using a pointer to a structure. The structure is still aggregated but we add a level of indirection for possible plugins to overwrite the storage
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3295415 |
|
25-Oct-2011 |
Andrey Hristov <andrey@php.net> |
Add hooks for __call like functionality and also allow to handle calls that spread over two internal functions. Let's call it a local TX.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4321da0 |
|
24-Oct-2011 |
Andrey Hristov <andrey@php.net> |
move plugin specific stuff to one file. create object factory for similar objects
/php-src/ext/mysqlnd/mysqlnd.c
|
| 652490d |
|
21-Oct-2011 |
Andrey Hristov <andrey@php.net> |
shift code around to two new files - mysqlnd_driver.c and mysqlnd_ext_plugin.c (mysqlnd extension plugin)
/php-src/ext/mysqlnd/mysqlnd.c
|
| efb68d9 |
|
19-Oct-2011 |
Andrey Hristov <andrey@php.net> |
api_ext to reverse_api
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5117bf6 |
|
18-Oct-2011 |
Andrey Hristov <andrey@php.net> |
move change_user closer to connect
/php-src/ext/mysqlnd/mysqlnd.c
|
| b5f5770 |
|
10-Oct-2011 |
Andrey Hristov <andrey@php.net> |
MYSQLND_NET refactored not to use any direct reference to MYSQLND (the connection) QC will need an ifdef-layer to compile with this
/php-src/ext/mysqlnd/mysqlnd.c
|
| a7410ea |
|
25-Sep-2011 |
Johannes Schlüter <johannes@php.net> |
- Fix folding
/php-src/ext/mysqlnd/mysqlnd.c
|
| 223e2ac |
|
25-Sep-2011 |
Johannes Schlüter <johannes@php.net> |
- Fix folding
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6c2b670 |
|
17-Sep-2011 |
Pierre Joye <pajoye@php.net> |
- fix build (macros mess)
/php-src/ext/mysqlnd/mysqlnd.c
|
| a68abe8 |
|
17-Sep-2011 |
Pierre Joye <pajoye@php.net> |
- fix TS build
/php-src/ext/mysqlnd/mysqlnd.c
|
| d6ab6bc |
|
16-Sep-2011 |
Dmitry Stogov <dmitry@php.net> |
Fixed Windows build
/php-src/ext/mysqlnd/mysqlnd.c
|
| f90bead |
|
01-Sep-2011 |
Johannes Schlüter <johannes@php.net> |
- Fix TSRM build
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7d25510 |
|
31-Aug-2011 |
Johannes Schlüter <johannes@php.net> |
- Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9756f76 |
|
26-Aug-2011 |
Andrey Hristov <andrey@php.net> |
fix valgrind warnings in debug builds
/php-src/ext/mysqlnd/mysqlnd.c
|
| da2839f |
|
26-Aug-2011 |
Andrey Hristov <andrey@php.net> |
fix valgrind warnings in debug builds
/php-src/ext/mysqlnd/mysqlnd.c
|
| 56d6f23 |
|
10-Aug-2011 |
Andrey Hristov <andrey@php.net> |
relax constraint
/php-src/ext/mysqlnd/mysqlnd.c
|
| d627115 |
|
10-Aug-2011 |
Andrey Hristov <andrey@php.net> |
relax constraint
/php-src/ext/mysqlnd/mysqlnd.c
|
| c9e7716 |
|
04-Aug-2011 |
Andrey Hristov <andrey@php.net> |
Add mysqli_error_list() that returns an array with errors. Typically only one and just one for libmysql. mysqlnd can return generate more than one error during its work and with mysqli_error() only the last error is being reported. In the array returned by mysqli_error_list() / $mysqli->error_list, all errors will be found. The list is reset when the next command is executed
/php-src/ext/mysqlnd/mysqlnd.c
|
| 94ccf70 |
|
27-Jul-2011 |
Andrey Hristov <andrey@php.net> |
longer error messages, don't cut them
/php-src/ext/mysqlnd/mysqlnd.c
|
| 11e4f1e |
|
27-Jul-2011 |
Andrey Hristov <andrey@php.net> |
longer error messages, don't cut them
/php-src/ext/mysqlnd/mysqlnd.c
|
| 774e127 |
|
05-Jul-2011 |
Andrey Hristov <andrey@php.net> |
free data in case of failure in the callee not in the caller
/php-src/ext/mysqlnd/mysqlnd.c
|
| e77b49b |
|
05-Jul-2011 |
Andrey Hristov <andrey@php.net> |
free data in case of failure in the callee not in the caller
/php-src/ext/mysqlnd/mysqlnd.c
|
| ce816cb |
|
31-May-2011 |
Andrey Hristov <andrey@php.net> |
reuse code
/php-src/ext/mysqlnd/mysqlnd.c
|
| b97e76d |
|
31-May-2011 |
Andrey Hristov <andrey@php.net> |
reuse code
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2d5e51d |
|
04-May-2011 |
Andrey Hristov <andrey@php.net> |
fix valgrind warning
/php-src/ext/mysqlnd/mysqlnd.c
|
| f064435 |
|
18-Mar-2011 |
Andrey Hristov <andrey@php.net> |
add a proxy for sppintf and vspprintf
/php-src/ext/mysqlnd/mysqlnd.c
|
| ca5df2a |
|
18-Mar-2011 |
Andrey Hristov <andrey@php.net> |
less trace info
/php-src/ext/mysqlnd/mysqlnd.c
|
| d4a1f5a |
|
25-Feb-2011 |
Andrey Hristov <andrey@php.net> |
revert to previous behavior
/php-src/ext/mysqlnd/mysqlnd.c
|
| 59c5875 |
|
25-Feb-2011 |
Andrey Hristov <andrey@php.net> |
move from macros to functions, which can be overwritten, if needed
/php-src/ext/mysqlnd/mysqlnd.c
|
| 113cd9d |
|
25-Feb-2011 |
Andrey Hristov <andrey@php.net> |
move from macros to functions, which can be overwritten, if needed
/php-src/ext/mysqlnd/mysqlnd.c
|
| d82b05a |
|
31-Jan-2011 |
Andrey Hristov <andrey@php.net> |
Don't lose this data anymore. It worked without the fix, but it with it is just correct (trunk only).
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2e3e86b |
|
28-Jan-2011 |
Andrey Hristov <andrey@php.net> |
clear error before doing anything, because we can get trapped by previous error : php -r '$link = mysqli_init(); var_dump($link->real_connect("127.0.0.1", "unknown", "unknown")); var_dump($link->real_connect("127.0.0.1", "known", "password"));' shows the problem. The second connect did not work, as it should be.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4439bde |
|
24-Jan-2011 |
Andrey Hristov <andrey@php.net> |
small cleanups
/php-src/ext/mysqlnd/mysqlnd.c
|
| ce4e6f4 |
|
24-Jan-2011 |
Andrey Hristov <andrey@php.net> |
Handle MySQL 5.5 authentication features. Authentication protocol can be changed, a new raw packet is introduced, which includes only the "encrypted" data for the auth plugin, sent after change protocol (0xFE) is sent to the client.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 87a2104 |
|
19-Jan-2011 |
Andrey Hristov <andrey@php.net> |
fix ZTS build
/php-src/ext/mysqlnd/mysqlnd.c
|
| 16c6ce9 |
|
14-Jan-2011 |
Andrey Hristov <andrey@php.net> |
Update on the mysqlnd auth plugins, changed the plugin structure and where they load themselves. 0xFE packets (method switch) needs to be done, additional wire-level packet to be created to be parsed and the packet doesn't fit the PACKET_OK structure anymore.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5ca5c2b |
|
14-Jan-2011 |
Andrey Hristov <andrey@php.net> |
Change things to allow passing of the password length to mysqlnd. This is needed as a password might include a \0 and thus we need to be binary safe.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 429e07b |
|
12-Jan-2011 |
Andrey Hristov <andrey@php.net> |
grok the MySQL 5.5 extended handshake. Move the authentication routines, the native ones, to separate file and encapsulate them in a plugin. Depending on the server version and what the server requests (or doesn't in old versions) load the authentication plugin to handle it. Currently only the 4.1+ authentication is supported. More to come
/php-src/ext/mysqlnd/mysqlnd.c
|
| ddbbcdc |
|
11-Jan-2011 |
Andrey Hristov <andrey@php.net> |
Use common code to handle initial authentication and COM_CHANGE_USER
/php-src/ext/mysqlnd/mysqlnd.c
|
| 927bf09 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0203cc3 |
|
01-Jan-2011 |
Felipe Pena <felipe@php.net> |
- Year++
/php-src/ext/mysqlnd/mysqlnd.c
|
| cfac5f5 |
|
28-Dec-2010 |
Andrey Hristov <andrey@php.net> |
extending the API interface - plugins can register themselves with a structure and can be searched. Every plugin can have statistics and they are shown under the statistics of mysqlnd in MINFO.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 17b8336 |
|
16-Dec-2010 |
Andrey Hristov <andrey@php.net> |
fix a small bug about affected_rows in the text protocol
/php-src/ext/mysqlnd/mysqlnd.c
|
| b51abfb |
|
16-Dec-2010 |
Andrey Hristov <andrey@php.net> |
fix a small bug about affected_rows in the text protocol
/php-src/ext/mysqlnd/mysqlnd.c
|
| e183ea0 |
|
06-Dec-2010 |
Andrey Hristov <andrey@php.net> |
don't crash if the API is used incorrectly
/php-src/ext/mysqlnd/mysqlnd.c
|
| 03fd10c |
|
06-Dec-2010 |
Andrey Hristov <andrey@php.net> |
don't crash if the API is used incorrectly
/php-src/ext/mysqlnd/mysqlnd.c
|
| fe719c5 |
|
22-Oct-2010 |
Andrey Hristov <andrey@php.net> |
profiling in trace mode
/php-src/ext/mysqlnd/mysqlnd.c
|
| 924bb78 |
|
22-Oct-2010 |
Andrey Hristov <andrey@php.net> |
profiling in trace mode
/php-src/ext/mysqlnd/mysqlnd.c
|
| 25e84b6 |
|
05-Oct-2010 |
Andrey Hristov <andrey@php.net> |
Rename a method so it doesn't clash with a global symbol - a function Fix compiler waring by extening the type of a variable
/php-src/ext/mysqlnd/mysqlnd.c
|
| 396402f |
|
05-Oct-2010 |
Andrey Hristov <andrey@php.net> |
Rename a method so it doesn't clash with a global symbol - a function Fix compiler waring by extening the type of a variable
/php-src/ext/mysqlnd/mysqlnd.c
|
| 548661d |
|
05-Oct-2010 |
Andrey Hristov <andrey@php.net> |
rename parameter, should not conflict with global symbol - the socket function
/php-src/ext/mysqlnd/mysqlnd.c
|
| 60bfedb |
|
05-Oct-2010 |
Andrey Hristov <andrey@php.net> |
rename parameter, should not conflict with global symbol - the socket function
/php-src/ext/mysqlnd/mysqlnd.c
|
| 216effe |
|
23-Sep-2010 |
Andrey Hristov <andrey@php.net> |
WS fixes
/php-src/ext/mysqlnd/mysqlnd.c
|
| 859a140 |
|
23-Sep-2010 |
Andrey Hristov <andrey@php.net> |
WS fixes
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1ac15b2 |
|
23-Sep-2010 |
Kalle Sommer Nielsen <kalle@php.net> |
Added TSRMLS macros into php_get_current_user()
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4c26112 |
|
22-Sep-2010 |
Andrey Hristov <andrey@php.net> |
Fix for Request #48082 mysql_connect does not work with named pipes
/php-src/ext/mysqlnd/mysqlnd.c
|
| 17ae7c1 |
|
15-Sep-2010 |
Andrey Hristov <andrey@php.net> |
remove unneeded proxy function _mysqlnd_restart_psessoin
/php-src/ext/mysqlnd/mysqlnd.c
|
| f60bd23 |
|
15-Sep-2010 |
Andrey Hristov <andrey@php.net> |
remove unneeded proxy function _mysqlnd_restart_psessoin
/php-src/ext/mysqlnd/mysqlnd.c
|
| d99ee78 |
|
15-Sep-2010 |
Andrey Hristov <andrey@php.net> |
Remove unneeded proxy function _mysqlnd_end_psession
/php-src/ext/mysqlnd/mysqlnd.c
|
| d5f1517 |
|
15-Sep-2010 |
Andrey Hristov <andrey@php.net> |
Remove unneeded proxy function _mysqlnd_end_psession
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8220c2e |
|
01-Sep-2010 |
Andrey Hristov <andrey@php.net> |
OPT_COMPRESS support for mysqlnd_conn::set_client_option To be used by mysqli_options
/php-src/ext/mysqlnd/mysqlnd.c
|
| b2bcf3a |
|
01-Sep-2010 |
Andrey Hristov <andrey@php.net> |
OPT_COMPRESS support for mysqlnd_conn::set_client_option To be used by mysqli_options
/php-src/ext/mysqlnd/mysqlnd.c
|
| c974313 |
|
12-Aug-2010 |
Andrey Hristov <andrey@php.net> |
Switch from using PHP_MAJOR_VERSION to separate define for unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 92ef63a |
|
12-Aug-2010 |
Andrey Hristov <andrey@php.net> |
Switch from using PHP_MAJOR_VERSION to separate define for unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again.
/php-src/ext/mysqlnd/mysqlnd.c
|
| d27983e |
|
12-Aug-2010 |
Andrey Hristov <andrey@php.net> |
ws + cs
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8bf7114 |
|
12-Aug-2010 |
Andrey Hristov <andrey@php.net> |
ws + cs
/php-src/ext/mysqlnd/mysqlnd.c
|
| f8c2680 |
|
09-Aug-2010 |
Andrey Hristov <andrey@php.net> |
Lay foundations for named pipe support in mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| ebaee8a |
|
09-Aug-2010 |
Andrey Hristov <andrey@php.net> |
Lay foundations for named pipe support in mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| d9afaad |
|
06-Aug-2010 |
David Soria Parra <dsp@php.net> |
make ssl_set return value in mysqlnd compatible with libmysqli return value
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9d02d50 |
|
06-Aug-2010 |
David Soria Parra <dsp@php.net> |
make ssl_set return value in mysqlnd compatible with libmysqli return value
/php-src/ext/mysqlnd/mysqlnd.c
|
| 53324e8 |
|
21-Jun-2010 |
Andrey Hristov <andrey@php.net> |
Fix sprintf modifiers all around the place. In most cases %u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be the modifier
/php-src/ext/mysqlnd/mysqlnd.c
|
| baf72b7 |
|
21-Jun-2010 |
Andrey Hristov <andrey@php.net> |
Fix sprintf modifiers all around the place. In most cases %u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be the modifier
/php-src/ext/mysqlnd/mysqlnd.c
|
| 59205a6 |
|
17-Jun-2010 |
Andrey Hristov <andrey@php.net> |
split mysqlnd_connect() in two parts, one doing the authorization
/php-src/ext/mysqlnd/mysqlnd.c
|
| ae4ae5a |
|
17-Jun-2010 |
Andrey Hristov <andrey@php.net> |
split mysqlnd_connect() in two parts, one doing the authorization
/php-src/ext/mysqlnd/mysqlnd.c
|
| 55f8790 |
|
16-Jun-2010 |
Andrey Hristov <andrey@php.net> |
no more needed because of the charset fix in the previous changeset
/php-src/ext/mysqlnd/mysqlnd.c
|
| d47e50a |
|
16-Jun-2010 |
Andrey Hristov <andrey@php.net> |
no more needed because of the charset fix in the previous changeset
/php-src/ext/mysqlnd/mysqlnd.c
|
| 65b1895 |
|
14-Jun-2010 |
Andrey Hristov <andrey@php.net> |
Fixed bug #52082 (character_set_client & character_set_connection reset after mysqli_change_user()) libmysql >= 5.1.23 will PASS, older library versions will fail
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1d9c49b |
|
14-Jun-2010 |
Andrey Hristov <andrey@php.net> |
Fixed bug #52082 (character_set_client & character_set_connection reset after mysqli_change_user()) libmysql >= 5.1.23 will PASS, older library versions will fail
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6ebe80b |
|
27-May-2010 |
Andrey Hristov <andrey@php.net> |
Don't use NULL pointer, always check before use
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3251e54 |
|
27-May-2010 |
Andrey Hristov <andrey@php.net> |
Don't use NULL pointer, always check before use
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0e8b380 |
|
26-May-2010 |
Andrey Hristov <andrey@php.net> |
Don't use conn->net without checking if it is NULL, because it can be NULL in OOM conditions. This would cause a crash.
/php-src/ext/mysqlnd/mysqlnd.c
|
| ce136a8 |
|
26-May-2010 |
Andrey Hristov <andrey@php.net> |
Don't use conn->net without checking if it is NULL, because it can be NULL in OOM conditions. This would cause a crash.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 58f13c3 |
|
25-May-2010 |
Andrey Hristov <andrey@php.net> |
Handle the situation when MYSQLND_PROTOCOL's methods return NULL. mysqlnd should not crash but gracefully return with an error.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 433cb86 |
|
25-May-2010 |
Andrey Hristov <andrey@php.net> |
Handle the situation when MYSQLND_PROTOCOL's methods return NULL. mysqlnd should not crash but gracefully return with an error.
/php-src/ext/mysqlnd/mysqlnd.c
|
| bcdc3b3 |
|
25-May-2010 |
Andrey Hristov <andrey@php.net> |
Init should return status value because initialization can fail. In this case mysqlnd_init() should return NULL to the end-user.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6d434e7 |
|
25-May-2010 |
Andrey Hristov <andrey@php.net> |
Init should return status value because initialization can fail. In this case mysqlnd_init() should return NULL to the end-user.
/php-src/ext/mysqlnd/mysqlnd.c
|
| b86ebe4 |
|
14-May-2010 |
Andrey Hristov <andrey@php.net> |
- Give possibility to overload mysqlnd_result_init(). - Always use conn->m->stmt_init instead of mysqlnd_stmt_init()
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8691786 |
|
14-May-2010 |
Andrey Hristov <andrey@php.net> |
- Give possibility to overload mysqlnd_result_init(). - Always use conn->m->stmt_init instead of mysqlnd_stmt_init()
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7de2607 |
|
03-May-2010 |
Andrey Hristov <andrey@php.net> |
Handle gracefully OOM in mysqlnd_mempool_create and up the stack
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6dff9e5 |
|
03-May-2010 |
Andrey Hristov <andrey@php.net> |
Handle gracefully OOM in mysqlnd_mempool_create and up the stack
/php-src/ext/mysqlnd/mysqlnd.c
|
| 333581f |
|
03-May-2010 |
Andrey Hristov <andrey@php.net> |
Better handing of OOM in mysqlnd::set_client_option
/php-src/ext/mysqlnd/mysqlnd.c
|
| d0abd95 |
|
03-May-2010 |
Andrey Hristov <andrey@php.net> |
Better handing of OOM in mysqlnd::set_client_option
/php-src/ext/mysqlnd/mysqlnd.c
|
| a3168a3 |
|
29-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Handle OOM cases, in case of persistent connections this is real and the Zend MM won't help.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3010485 |
|
29-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Handle OOM cases, in case of persistent connections this is real and the Zend MM won't help.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2c38266 |
|
29-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix valgrind warning, usage of nirvana memory
/php-src/ext/mysqlnd/mysqlnd.c
|
| aec94a4 |
|
29-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix valgrind warning, usage of nirvana memory
/php-src/ext/mysqlnd/mysqlnd.c
|
| fa40847 |
|
29-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix possible crashes in case of OOM, as well as a leak.
/php-src/ext/mysqlnd/mysqlnd.c
|
| ac172db |
|
29-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix possible crashes in case of OOM, as well as a leak.
/php-src/ext/mysqlnd/mysqlnd.c
|
| be5920b |
|
27-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Move the macro to mysqlnd_enum_n_def.h, because it can be reused in other places. Also, premultiply the values by 4 and add some reserve for future releases of the server.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4b658e3 |
|
27-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Move the macro to mysqlnd_enum_n_def.h, because it can be reused in other places. Also, premultiply the values by 4 and add some reserve for future releases of the server.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5bb74e6 |
|
27-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fixed buffer overflow in mysqlnd_change_user
/php-src/ext/mysqlnd/mysqlnd.c
|
| 207a72c |
|
27-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fixed buffer overflow in mysqlnd_change_user
/php-src/ext/mysqlnd/mysqlnd.c
|
| c92c788 |
|
27-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fixed possible buffer overflow in mysqlnd_conn__list_fields.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6f6909e |
|
27-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fixed possible buffer overflow in mysqlnd_conn__list_fields.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 804b950 |
|
20-Apr-2010 |
Andrey Hristov <andrey@php.net> |
It is possible that change user tries an user who has old password. Instead of error message that doesn't say much there is more information now.
/php-src/ext/mysqlnd/mysqlnd.c
|
| eda9959 |
|
20-Apr-2010 |
Andrey Hristov <andrey@php.net> |
It is possible that change user tries an user who has old password. Instead of error message that doesn't say much there is more information now.
/php-src/ext/mysqlnd/mysqlnd.c
|
| a175419 |
|
20-Apr-2010 |
Felipe Pena <felipe@php.net> |
- Fix copyrights
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6d951e2 |
|
20-Apr-2010 |
Felipe Pena <felipe@php.net> |
- Fix copyrights
/php-src/ext/mysqlnd/mysqlnd.c
|
| cdac2b4 |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix some int/uint comparison warnings
/php-src/ext/mysqlnd/mysqlnd.c
|
| f407790 |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix some int/uint comparison warnings
/php-src/ext/mysqlnd/mysqlnd.c
|
| 48e413e |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
more WS
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6f0adc0 |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
more WS
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6aa682f |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
CS + WS changes
/php-src/ext/mysqlnd/mysqlnd.c
|
| a9880e7 |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
CS + WS changes
/php-src/ext/mysqlnd/mysqlnd.c
|
| dd9fc19 |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix for bug#49234 method not found ssl_set Patch was tested and compiles on Windows. (Thanks Kalle)
/php-src/ext/mysqlnd/mysqlnd.c
|
| c04f752 |
|
15-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix for bug#49234 method not found ssl_set Patch was tested and compiles on Windows. (Thanks Kalle)
/php-src/ext/mysqlnd/mysqlnd.c
|
| aa8f43f |
|
06-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Recommit with an Windows build fix: Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 96e2651 |
|
01-Apr-2010 |
Pierre Joye <pajoye@php.net> |
- revert revision 297277, break the builds (declaration must go 1st, size of void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
/php-src/ext/mysqlnd/mysqlnd.c
|
| d339672 |
|
01-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
/php-src/ext/mysqlnd/mysqlnd.c
|
| f534df7 |
|
01-Apr-2010 |
Andrey Hristov <andrey@php.net> |
Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 94cd357 |
|
29-Mar-2010 |
Andrey Hristov <andrey@php.net> |
Make it coupled - what is allocated with mnd_ should be freed with mnd_ and vice versa. Added mnd_pestrndup and mnd_pestrdup, which wrap the normal calls to be able to track this calls. Fixed some failing tests.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4870cac |
|
29-Mar-2010 |
Andrey Hristov <andrey@php.net> |
Make it coupled - what is allocated with mnd_ should be freed with mnd_ and vice versa. Added mnd_pestrndup and mnd_pestrdup, which wrap the normal calls to be able to track this calls. Fixed some failing tests.
/php-src/ext/mysqlnd/mysqlnd.c
|
| ec36ac1 |
|
26-Mar-2010 |
Andrey Hristov <andrey@php.net> |
Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock as it is in when compiled from source and the default for mysqlnd. SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode (ext/mysql and ingres) needs the socket. Fix possible crashes in mysqlnd. When packets are shorter, functions should return error.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7868bca |
|
26-Mar-2010 |
Andrey Hristov <andrey@php.net> |
Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sock as it is in when compiled from source and the default for mysqlnd. SuSE for example uses /var/run/mysql/mysql.sock . Also, sql.safe_mode (ext/mysql and ingres) needs the socket. Fix possible crashes in mysqlnd. When packets are shorter, functions should return error.
/php-src/ext/mysqlnd/mysqlnd.c
|
| ccfd9cd |
|
12-Mar-2010 |
Andrey Hristov <andrey@php.net> |
allow persistency of PS
/php-src/ext/mysqlnd/mysqlnd.c
|
| 564a1d0 |
|
12-Mar-2010 |
Andrey Hristov <andrey@php.net> |
allow persistency of PS
/php-src/ext/mysqlnd/mysqlnd.c
|
| df80a01 |
|
09-Mar-2010 |
Adam Harvey <aharvey@php.net> |
Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0).
/php-src/ext/mysqlnd/mysqlnd.c
|
| bdbb2e7 |
|
09-Mar-2010 |
Adam Harvey <aharvey@php.net> |
Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, but 0).
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1156652 |
|
24-Feb-2010 |
Andrey Hristov <andrey@php.net> |
Fix the text. Correct english and a bit shorter.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7db6387 |
|
24-Feb-2010 |
Andrey Hristov <andrey@php.net> |
Fix the text. Correct english and a bit shorter.
/php-src/ext/mysqlnd/mysqlnd.c
|
| dd57bdd |
|
24-Feb-2010 |
Andrey Hristov <andrey@php.net> |
add better description to the problem
/php-src/ext/mysqlnd/mysqlnd.c
|
| f8eb9ab |
|
24-Feb-2010 |
Andrey Hristov <andrey@php.net> |
add better description to the problem
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5dff8f9 |
|
09-Feb-2010 |
Andrey Hristov <andrey@php.net> |
make send_close a hook, too
/php-src/ext/mysqlnd/mysqlnd.c
|
| 480c327 |
|
09-Feb-2010 |
Andrey Hristov <andrey@php.net> |
make send_close a hook, too
/php-src/ext/mysqlnd/mysqlnd.c
|
| 055f558 |
|
03-Feb-2010 |
Andrey Hristov <andrey@php.net> |
Pass tsrmls to all functions, which might need it in the future. We are anyway breaking the internal ABI in 5.3.2 so this won't hurt and make us prepared for the future.
/php-src/ext/mysqlnd/mysqlnd.c
|
| e50de7d |
|
03-Feb-2010 |
Andrey Hristov <andrey@php.net> |
Pass tsrmls to all functions, which might need it in the future. We are anyway breaking the internal ABI in 5.3.2 so this won't hurt and make us prepared for the future.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6a8d4c3 |
|
13-Jan-2010 |
Andrey Hristov <andrey@php.net> |
more PHPAPI for phpize-d builds
/php-src/ext/mysqlnd/mysqlnd.c
|
| c42541a |
|
13-Jan-2010 |
Andrey Hristov <andrey@php.net> |
more PHPAPI for phpize-d builds
/php-src/ext/mysqlnd/mysqlnd.c
|
| a449a37 |
|
11-Jan-2010 |
Andrey Hristov <andrey@php.net> |
cosmetics. typedef-ed types should be in capital case
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2331e28 |
|
11-Jan-2010 |
Andrey Hristov <andrey@php.net> |
cosmetics. typedef-ed types should be in capital case
/php-src/ext/mysqlnd/mysqlnd.c
|
| d999552 |
|
11-Jan-2010 |
Andrey Hristov <andrey@php.net> |
missed to commit in 5_3, here it comes, reusability of stats
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1ea3909 |
|
11-Jan-2010 |
Andrey Hristov <andrey@php.net> |
and another change to make the stats API re-usable
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9b8d026 |
|
11-Jan-2010 |
Andrey Hristov <andrey@php.net> |
Rework the statistics macros to be reusable by external entities. Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 41ead37 |
|
11-Jan-2010 |
Andrey Hristov <andrey@php.net> |
Rework the statistics macros to be reusable by external entities. Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability.
/php-src/ext/mysqlnd/mysqlnd.c
|
| d20fdd6 |
|
08-Jan-2010 |
Andrey Hristov <andrey@php.net> |
improve the stats subsystem. Reduce the number of macro definitions in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer from being aggregated and add triggers.
/php-src/ext/mysqlnd/mysqlnd.c
|
| a98a679 |
|
08-Jan-2010 |
Andrey Hristov <andrey@php.net> |
improve the stats subsystem. Reduce the number of macro definitions in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer from being aggregated and add triggers.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3264e51 |
|
08-Jan-2010 |
Andrey Hristov <andrey@php.net> |
add restart_psession and end_psession hooks
/php-src/ext/mysqlnd/mysqlnd.c
|
| fcef589 |
|
08-Jan-2010 |
Andrey Hristov <andrey@php.net> |
add restart_psession and end_psession hooks
/php-src/ext/mysqlnd/mysqlnd.c
|
| 81b0630 |
|
07-Jan-2010 |
Andrey Hristov <andrey@php.net> |
Change of way the packet objects are created/initialised If the protocol gets changed, ever, we can decide at runtime easily which protocol to use by instantiating the right protocol object. But this is restricted to the structure of the packets, not the flow.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 73b23fc |
|
07-Jan-2010 |
Andrey Hristov <andrey@php.net> |
Change of way the packet objects are created/initialised If the protocol gets changed, ever, we can decide at runtime easily which protocol to use by instantiating the right protocol object. But this is restricted to the structure of the packets, not the flow.
/php-src/ext/mysqlnd/mysqlnd.c
|
| d76fa2b |
|
28-Dec-2009 |
Andrey Hristov <andrey@php.net> |
move network creation to the init hook
/php-src/ext/mysqlnd/mysqlnd.c
|
| d3619df |
|
28-Dec-2009 |
Andrey Hristov <andrey@php.net> |
move network creation to the init hook
/php-src/ext/mysqlnd/mysqlnd.c
|
| 707e862 |
|
22-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Fix double calls to free_contents if the connection cannot be opened. mysqlnd have no probs, external code should not have too. In any case, double call is not needed.
/php-src/ext/mysqlnd/mysqlnd.c
|
| c95fa28 |
|
22-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Fix double calls to free_contents if the connection cannot be opened. mysqlnd have no probs, external code should not have too. In any case, double call is not needed.
/php-src/ext/mysqlnd/mysqlnd.c
|
| e695a83 |
|
22-Dec-2009 |
Andrey Hristov <andrey@php.net> |
move state setting to the right place, in mysqlnd_init, no more in mysqlnd::connect
/php-src/ext/mysqlnd/mysqlnd.c
|
| e1251ed |
|
22-Dec-2009 |
Andrey Hristov <andrey@php.net> |
move state setting to the right place, in mysqlnd_init, no more in mysqlnd::connect
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5e1c95f |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
remove duplicated code
/php-src/ext/mysqlnd/mysqlnd.c
|
| 857e83a |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
remove duplicated code
/php-src/ext/mysqlnd/mysqlnd.c
|
| c101f7f |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect. Thus mysqlnd_conn::connect() does less of what it should not do - think about the transport level.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1fc65ed |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Move code out of mysqlnd_conn::connect to mysqlnd_net::connect. Thus mysqlnd_conn::connect() does less of what it should not do - think about the transport level.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 523471f |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
export this function
/php-src/ext/mysqlnd/mysqlnd.c
|
| a5640ed |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
export this function
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0371ef1 |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
refactor: move code that belongs to MYSQLND_NET out of MYSQLND
/php-src/ext/mysqlnd/mysqlnd.c
|
| e6e4072 |
|
15-Dec-2009 |
Andrey Hristov <andrey@php.net> |
refactor: move code that belongs to MYSQLND_NET out of MYSQLND
/php-src/ext/mysqlnd/mysqlnd.c
|
| 13c8bba |
|
11-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Make MYSQLND_NET dynamically allocated structure with allocator and deallocator. More member functions will come.
/php-src/ext/mysqlnd/mysqlnd.c
|
| b1d4cea |
|
11-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Make MYSQLND_NET dynamically allocated structure with allocator and deallocator. More member functions will come.
/php-src/ext/mysqlnd/mysqlnd.c
|
| fd0d982 |
|
11-Dec-2009 |
Andrey Hristov <andrey@php.net> |
remove stale comment
/php-src/ext/mysqlnd/mysqlnd.c
|
| a9295f0 |
|
11-Dec-2009 |
Andrey Hristov <andrey@php.net> |
remove stale comment
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2cc9511 |
|
11-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Move two functions which are used in the extension as methods of the connection. Two functions less in the global namespace.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0c7a9b8 |
|
11-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Move two functions which are used in the extension as methods of the connection. Two functions less in the global namespace.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3a7f8ea |
|
09-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Remove stub code which never actually was used for anything. Things like this can be built on top of the core.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 06a417b |
|
09-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Remove stub code which never actually was used for anything. Things like this can be built on top of the core.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6f598e6 |
|
09-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Remove the zval caching from mysqlnd. It was disabled versions ago due to problems on windows, which were not debugged. Better have code that is disabled not in the core.
/php-src/ext/mysqlnd/mysqlnd.c
|
| fd44827 |
|
09-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Remove the zval caching from mysqlnd. It was disabled versions ago due to problems on windows, which were not debugged. Better have code that is disabled not in the core.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4d27350 |
|
09-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Remove disabled code - threaded fetching. This can be implemented on a upper level and by offloading it we reduce the complexity of the core.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 157f1bd |
|
09-Dec-2009 |
Andrey Hristov <andrey@php.net> |
Remove disabled code - threaded fetching. This can be implemented on a upper level and by offloading it we reduce the complexity of the core.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3cfacd1 |
|
03-Dec-2009 |
Andrey Hristov <andrey@php.net> |
I svn-commit.2.tmp (Modified) Row 2 Col 28 11:45 Ctrl-K H for help fix compilation on windows and with other compilers who don't like void* arithmetic
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0f0f5f2 |
|
03-Dec-2009 |
Andrey Hristov <andrey@php.net> |
I svn-commit.2.tmp (Modified) Row 2 Col 28 11:45 Ctrl-K H for help fix compilation on windows and with other compilers who don't like void* arithmetic
/php-src/ext/mysqlnd/mysqlnd.c
|
| 330523c |
|
03-Dec-2009 |
Pierre Joye <pajoye@php.net> |
- disable this debug code until it is actually fixed
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2386938 |
|
03-Dec-2009 |
Pierre Joye <pajoye@php.net> |
- disable this debug code until it is actually fixed
/php-src/ext/mysqlnd/mysqlnd.c
|
| bfc0ec1 |
|
03-Dec-2009 |
Andrey Hristov <andrey@php.net> |
fix segfault introduced by Pierre in a recent commit old code was doing something like conn + sizeof(MYSQLND) * MYSQLND + plugin * sizeof(void) * sizeof(MYSQLND) because `conn` is not casted to void*. `conn` has to be casted to void * and then the whole experession will be void * and the calculations will work.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4c10655 |
|
03-Dec-2009 |
Andrey Hristov <andrey@php.net> |
fix segfault introduced by Pierre in a recent commit old code was doing something like conn + sizeof(MYSQLND) * MYSQLND + plugin * sizeof(void) * sizeof(MYSQLND) because `conn` is not casted to void*. `conn` has to be casted to void * and then the whole experession will be void * and the calculations will work.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 80e5ef6 |
|
30-Nov-2009 |
Pierre Joye <pajoye@php.net> |
- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2a3ec70 |
|
30-Nov-2009 |
Pierre Joye <pajoye@php.net> |
- void is NaN, you can't do math ops on void. Declarations go first. Fix TS build
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0c6fa49 |
|
26-Nov-2009 |
Andrey Hristov <andrey@php.net> |
fix debug windows build as well as remove a compilation warning (a header not included)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1cf1cb3 |
|
26-Nov-2009 |
Andrey Hristov <andrey@php.net> |
fix debug windows build as well as remove a compilation warning (a header not included)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5143fe4 |
|
20-Nov-2009 |
Andrey Hristov <andrey@php.net> |
Compressed protocol support + extensibility for mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7674c94 |
|
20-Nov-2009 |
Andrey Hristov <andrey@php.net> |
Compressed protocol support + extensibility for mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7b5ce9a |
|
22-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Don't forget to update the length too
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4afa56f |
|
22-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Don't forget to update the length too
/php-src/ext/mysqlnd/mysqlnd.c
|
| f2814dd |
|
22-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Have the lengths also to skip many calls to strlen
/php-src/ext/mysqlnd/mysqlnd.c
|
| a86ab84 |
|
22-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Have the lengths also to skip many calls to strlen
/php-src/ext/mysqlnd/mysqlnd.c
|
| a692479 |
|
22-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Count number of affected_rows for normal and PS queries
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8792edc |
|
22-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Count number of affected_rows for normal and PS queries
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0949463 |
|
19-Oct-2009 |
Ulf Wendel <uw@php.net> |
Fixing host info for TCP/IP and aligning mysqlnd and libmysql
/php-src/ext/mysqlnd/mysqlnd.c
|
| d01d398 |
|
19-Oct-2009 |
Ulf Wendel <uw@php.net> |
Fixing host info for TCP/IP and aligning mysqlnd and libmysql
/php-src/ext/mysqlnd/mysqlnd.c
|
| f0e6db4 |
|
16-Oct-2009 |
Ulf Wendel <uw@php.net> |
Extending mysqlnd statistics/monitoring. Now counting COM_* commands.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3eeaf56 |
|
16-Oct-2009 |
Ulf Wendel <uw@php.net> |
Extending mysqlnd statistics/monitoring. Now counting COM_* commands.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 29d771c |
|
15-Oct-2009 |
Ulf Wendel <uw@php.net> |
Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761
/php-src/ext/mysqlnd/mysqlnd.c
|
| d8dc47d |
|
15-Oct-2009 |
Ulf Wendel <uw@php.net> |
Making mysqlnd emit no warnings when fetching pooled persistent connections that have timed out or are unusable for any other reason - bug #49761
/php-src/ext/mysqlnd/mysqlnd.c
|
| 355a88f |
|
15-Oct-2009 |
Ulf Wendel <uw@php.net> |
Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.
/php-src/ext/mysqlnd/mysqlnd.c
|
| ab4670e |
|
15-Oct-2009 |
Ulf Wendel <uw@php.net> |
Fixing problems when calling connect (again and again) on a valid connection handle. Most of the patch comes from Andrey.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 410804a |
|
08-Oct-2009 |
Ulf Wendel <uw@php.net> |
Avoid buffer resizing and let the initial buffer allocation happen a couple of lines later with conn->m->set_client_option(conn, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, ...). Andrey, I leave it to you to change the default size to 128k.
/php-src/ext/mysqlnd/mysqlnd.c
|
| a1d3a32 |
|
08-Oct-2009 |
Ulf Wendel <uw@php.net> |
Avoid buffer resizing and let the initial buffer allocation happen a couple of lines later with conn->m->set_client_option(conn, MYSQLND_OPT_NET_CMD_BUFFER_SIZE, ...). Andrey, I leave it to you to change the default size to 128k.
/php-src/ext/mysqlnd/mysqlnd.c
|
| e9f9b39 |
|
08-Oct-2009 |
Ulf Wendel <uw@php.net> |
Fixing pconnect statistics.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 4e6a1c2 |
|
08-Oct-2009 |
Ulf Wendel <uw@php.net> |
Fixing pconnect statistics.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5b97f74 |
|
07-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Increase the minimal size of the command buffer, which is used for sending queries and in the future commpressed patch for reading almost all packets from the wire instead of using stack buffers.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 309fced |
|
07-Oct-2009 |
Andrey Hristov <andrey@php.net> |
Increase the minimal size of the command buffer, which is used for sending queries and in the future commpressed patch for reading almost all packets from the wire instead of using stack buffers.
/php-src/ext/mysqlnd/mysqlnd.c
|
| dc01e66 |
|
06-Oct-2009 |
Andrey Hristov <andrey@php.net> |
revert the last change
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0652362 |
|
06-Oct-2009 |
Andrey Hristov <andrey@php.net> |
revert the last change
/php-src/ext/mysqlnd/mysqlnd.c
|
| a86aff9 |
|
06-Oct-2009 |
Andrey Hristov <andrey@php.net> |
count the queries
/php-src/ext/mysqlnd/mysqlnd.c
|
| d938239 |
|
06-Oct-2009 |
Andrey Hristov <andrey@php.net> |
count the queries
/php-src/ext/mysqlnd/mysqlnd.c
|
| bc7bbaa |
|
30-Sep-2009 |
Andrey Hristov <andrey@php.net> |
Use mnd_ wrappers wherever possible. Needed for statistics.
/php-src/ext/mysqlnd/mysqlnd.c
|
| ba5c40b |
|
30-Sep-2009 |
Andrey Hristov <andrey@php.net> |
Use mnd_ wrappers wherever possible. Needed for statistics.
/php-src/ext/mysqlnd/mysqlnd.c
|
| cec76fd |
|
25-Sep-2009 |
Andrey Hristov <andrey@php.net> |
Fix possible crash when conn is NULL
/php-src/ext/mysqlnd/mysqlnd.c
|
| 80f629e |
|
25-Sep-2009 |
Andrey Hristov <andrey@php.net> |
Fix possible crash when conn is NULL
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8e42cbf |
|
16-Sep-2009 |
Ulf Wendel <uw@php.net> |
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 20005db |
|
16-Sep-2009 |
Ulf Wendel <uw@php.net> |
Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library (libmysql) use different networking APIs. mysqlnd does use PHP streams whereas libmysql uses its own wrapper of the operating level network calls. PHP sets by default a read timeout of 60s for streams - php.ini, default_socket_timeout. This default applies to all streams that set no other timeout value. mysqlnd has not set any other value and therefore it connections of long running queries can have been cut off after default_socket_timeout seconds resulting in a 2006 - MySQL Server has gone away error message. The MySQL Client Library sets a default timeout of 365 * 24 * 3600 seconds (1year) and waits for other timeouts to happen, e.g. TCP/IP timeouts. mysqlnd now uses the same very long timeout. The value is configurable through a new php.ini setting: mysqlnd.net_read_timeout. mysqlnd.net_read_timeout gets used by any extension (ext/mysql, ext/mysqli, PDO_MySQL) that uses mysqlnd. mysqlnd tells PHP Streams to use mysqlnd.net_read_timeout. Please note that there may be subtle differences between MYSQL_OPT_READ_TIMEOUT from the MySQL Client Library and PHP Streams. E.g. MYSQL_OPT_READ_TIMEOUT is documented to work only for TCP/IP connections and, prior to MySQL 5.1.2, only for Windows. PHP streams may not have this limitation. Please check the streams documentation, if in doubt.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 149914f |
|
27-Aug-2009 |
Andrey Hristov <andrey@php.net> |
Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 67c7a37 |
|
27-Aug-2009 |
Andrey Hristov <andrey@php.net> |
Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd)
/php-src/ext/mysqlnd/mysqlnd.c
|
| efc7523 |
|
08-Jun-2009 |
Andrey Hristov <andrey@php.net> |
Merge with the branch, someone made changes in PHP5_3 and did not merge. Also switch off the zval cache for now.
/php-src/ext/mysqlnd/mysqlnd.c
|
| dcd86ae |
|
30-Mar-2009 |
Felipe Pena <felipe@php.net> |
- MFH: Removed UG(unicode) checks
/php-src/ext/mysqlnd/mysqlnd.c
|
| 04c90a0 |
|
27-Mar-2009 |
Felipe Pena <felipe@php.net> |
- Removed: - UG(unicode) checks - Changed: - ZEND_STR_TYPE -> IS_UNICODE - convert_to_text -> convert_to_unicode
/php-src/ext/mysqlnd/mysqlnd.c
|
| ebef020 |
|
16-Feb-2009 |
Johannes Schlüter <johannes@php.net> |
- MFH: Improve mysqlnd's internal method registration
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6a6e94c |
|
16-Feb-2009 |
Johannes Schlüter <johannes@php.net> |
- Improve mysqlnd's internal method registration
/php-src/ext/mysqlnd/mysqlnd.c
|
| 08659c2 |
|
31-Dec-2008 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 3 of 3.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7f4dc87 |
|
31-Dec-2008 |
Sebastian Bergmann <sebastian@php.net> |
Bump copyright year, 3 of 3.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2452619 |
|
20-Nov-2008 |
Andrey Hristov <andrey@php.net> |
mysqlnd fixes for Windows : - less warnings - PHPAPI for mysqlnd_poll
/php-src/ext/mysqlnd/mysqlnd.c
|
| d43b7b0 |
|
20-Nov-2008 |
Andrey Hristov <andrey@php.net> |
MFH: Windows fixes for mysqlnd Less warnings + PHPAPI for mysqlnd_poll
/php-src/ext/mysqlnd/mysqlnd.c
|
| e62f5f8 |
|
19-Nov-2008 |
Andrey Hristov <andrey@php.net> |
MFH: Fix a small bug that mysqlnd::next_result didn't care about an error in a multi-statement. In an inner layer the error has been already set, thus it needed better massage on the top level.
/php-src/ext/mysqlnd/mysqlnd.c
|
| d38e214 |
|
19-Nov-2008 |
Andrey Hristov <andrey@php.net> |
Fix a small bug that mysqlnd::next_result didn't care about an error in a multi-statement. In an inner layer the error has been already set, thus it needed better massage on the top level.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3343619 |
|
18-Nov-2008 |
Andrey Hristov <andrey@php.net> |
MFH: Fix Windows build, pure C compiler
/php-src/ext/mysqlnd/mysqlnd.c
|
| a04cd72 |
|
18-Nov-2008 |
Andrey Hristov <andrey@php.net> |
Fix windows build - pure C compiler
/php-src/ext/mysqlnd/mysqlnd.c
|
| 825034c |
|
18-Nov-2008 |
Andrey Hristov <andrey@php.net> |
MFH: Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
/php-src/ext/mysqlnd/mysqlnd.c
|
| 983f575 |
|
18-Nov-2008 |
Andrey Hristov <andrey@php.net> |
Asynchronous queries for mysqli, when mysqlnd is enabled. Includes 4 tests for mysqli_poll
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9186528 |
|
06-Nov-2008 |
Andrey Hristov <andrey@php.net> |
MFH: Get rid of many defines (which simplifies the code a lot), as well as uint->unsigned int
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0b46d6b |
|
06-Nov-2008 |
Andrey Hristov <andrey@php.net> |
Get rid of many defines (which simplifies the code a lot), as well as uint->unsigned int
/php-src/ext/mysqlnd/mysqlnd.c
|
| 77c1e14 |
|
31-Oct-2008 |
Andrey Hristov <andrey@php.net> |
MFB: 64bit fixes: - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 65f5d4e |
|
31-Oct-2008 |
Andrey Hristov <andrey@php.net> |
64bit fixes: - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 04d9bbe |
|
27-Oct-2008 |
Johannes Schlüter <johannes@php.net> |
MFH: Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement is executed)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 96b3cd0 |
|
27-Oct-2008 |
Johannes Schlüter <johannes@php.net> |
Fix #46285 (lastInsertId() returns "0" when a deferenced PDOStatement is executed)
/php-src/ext/mysqlnd/mysqlnd.c
|
| 3c335a3 |
|
01-Oct-2008 |
Johannes Schlüter <johannes@php.net> |
MFH: Handle failed connections right
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9fe2c9f |
|
01-Oct-2008 |
Johannes Schlüter <johannes@php.net> |
Handle failed connections right
/php-src/ext/mysqlnd/mysqlnd.c
|
| 1eb634c |
|
15-Sep-2008 |
Andrey Hristov <andrey@php.net> |
Forgot to merge these changes - Float conversion
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8bb2465 |
|
15-Sep-2008 |
Andrey Hristov <andrey@php.net> |
MFH: Add float conversions too. Float users should understand how float works!!!
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9a13dea |
|
19-Aug-2008 |
Johannes Schlüter <johannes@php.net> |
MFH: constify strings
/php-src/ext/mysqlnd/mysqlnd.c
|
| 71c1429 |
|
19-Aug-2008 |
Johannes Schlüter <johannes@php.net> |
constify strings
/php-src/ext/mysqlnd/mysqlnd.c
|
| aeab8ba |
|
19-Aug-2008 |
Johannes Schlüter <johannes@php.net> |
MFH: Fix empty error message when connecting to a bad server
/php-src/ext/mysqlnd/mysqlnd.c
|
| a11121e |
|
19-Aug-2008 |
Johannes Schlüter <johannes@php.net> |
Fix empty error message when connecting to a bad server
/php-src/ext/mysqlnd/mysqlnd.c
|
| 73dfa53 |
|
15-Jul-2008 |
Andrey Hristov <andrey@php.net> |
Sync with bzr
/php-src/ext/mysqlnd/mysqlnd.c
|
| 136a55f |
|
15-Jul-2008 |
Andrey Hristov <andrey@php.net> |
Sync with bzr
/php-src/ext/mysqlnd/mysqlnd.c
|
| 827b772 |
|
24-Jun-2008 |
Andrey Hristov <andrey@php.net> |
Fix remaining valgrind problems with pconn and zval cache HEAD merge will follow tomorrow.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 943e9a5 |
|
24-Jun-2008 |
Andrey Hristov <andrey@php.net> |
Fix double-free, introduced lately
/php-src/ext/mysqlnd/mysqlnd.c
|
| fd699ce |
|
24-Jun-2008 |
Andrey Hristov <andrey@php.net> |
Fix possible bug with persistent connections
/php-src/ext/mysqlnd/mysqlnd.c
|
| e0f45cf |
|
24-Jun-2008 |
Andrey Hristov <andrey@php.net> |
Fix possible bug with persistent connections and mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| 493b0bb |
|
07-May-2008 |
Andrey Hristov <andrey@php.net> |
Update mysqlnd - new ini variable
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8256272 |
|
07-May-2008 |
Andrey Hristov <andrey@php.net> |
Update mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| f4e659d |
|
24-Apr-2008 |
Andrey Hristov <andrey@php.net> |
Update ext/mysql's and ext/mysqli's tests Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5da78b2 |
|
24-Apr-2008 |
Andrey Hristov <andrey@php.net> |
Update ext/mysql's and ext/mysqli's tests Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature.
/php-src/ext/mysqlnd/mysqlnd.c
|
| de560f3 |
|
16-Apr-2008 |
Andrey Hristov <andrey@php.net> |
MFB: Update CVS from the development tree
/php-src/ext/mysqlnd/mysqlnd.c
|
| c931468 |
|
16-Apr-2008 |
Andrey Hristov <andrey@php.net> |
Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6867385 |
|
20-Mar-2008 |
Andrey Hristov <andrey@php.net> |
- Don't modify the variables which are passed for parameter binding. We need to clone them, if there will be a transformation (convert_to_xxx) which will change the origin (bug#44390 bind_param / bind_result and Object member variables) - Make mysqlnd more compatible to libmysql, in this case if the execute of a statement fails set the state of the statement back to PREPARED - A test case to check the case of a failing statement.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 0e884df |
|
20-Mar-2008 |
Andrey Hristov <andrey@php.net> |
- Don't modify the variables which are passed for parameter binding. We need to clone them, if there will be a transformation (convert_to_xxx) which will change the origin. - Make mysqlnd more compatible to libmysql, in this case if the execute of a statement fails set the state of the statement back to PREPARED - A test case to check the case of a failing statement.
/php-src/ext/mysqlnd/mysqlnd.c
|
| caf3e9c |
|
18-Mar-2008 |
Andrey Hristov <andrey@php.net> |
Fixed a bunch of bugs reported in Bug #44352 mysqli_connect_error() false negative for host errors From now on the mysqli object doesn't have that magic properties, like error, which were readable but not visible through isset(), property_exists() and var_dump(). All other ext/mysqli classes were fixed too. Now it will be easier to debug mysqli based applications.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 77d6a5a |
|
14-Feb-2008 |
Andrey Hristov <andrey@php.net> |
Update mysqlnd - fix bg_store
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2d9d223 |
|
14-Feb-2008 |
Andrey Hristov <andrey@php.net> |
Update mysqlnd - fix bg_store
/php-src/ext/mysqlnd/mysqlnd.c
|
| 82ad02f |
|
11-Feb-2008 |
Andrey Hristov <andrey@php.net> |
cvs sync
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8d7807d |
|
04-Feb-2008 |
Andrey Hristov <andrey@php.net> |
MFB: Simplify unique string generation and plug a leak.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2b6e11b |
|
04-Feb-2008 |
Andrey Hristov <andrey@php.net> |
Simplify unique string generation and plug a leak.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 508841b |
|
29-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Fix the build, add a missing file
/php-src/ext/mysqlnd/mysqlnd.c
|
| 829831f |
|
29-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Fix the build, add a missing file
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2687e55 |
|
29-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Moved initialization into a separate function
/php-src/ext/mysqlnd/mysqlnd.c
|
| 00877ef |
|
29-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Moved initialization code into a function.
/php-src/ext/mysqlnd/mysqlnd.c
|
| e580f0f |
|
28-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Moving extension specific code to php_mysqlnd.c as the old rule is.
/php-src/ext/mysqlnd/mysqlnd.c
|
| d95c29d |
|
28-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Moving extension specific code to php_mysqlnd.c as the old rule is.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6d9fdbc |
|
28-Jan-2008 |
Andrey Hristov <andrey@php.net> |
MFB: some config.w32 fixes moved mysqlnd's block allocator to a separate file and also now it's part of the connection, no MT problems.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 2033c1b |
|
28-Jan-2008 |
Andrey Hristov <andrey@php.net> |
some config.w32 fixes moved mysqlnd's block allocator to a separate file and also now it's part of the connection, no MT problems.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 18c8e65 |
|
28-Jan-2008 |
Andrey Hristov <andrey@php.net> |
MFB: More optimizations - less MM calls Clearly separated fetching (physical reading) from decoding phases (data interpretation). Threaded fetching added but disabled as needs more work for Windows. For Linux needs some touches to add pthreads if this is enabled, probably with a compile-time switch. The code reorganisation makes it easy to add also async API, similar to cURL's one.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7932ccb |
|
28-Jan-2008 |
Andrey Hristov <andrey@php.net> |
More optimizations - less MM calls Clearly separated fetching (physical reading) from decoding phases (data interpretation). Threaded fetching added but disabled as needs more work for Windows. For Linux needs some touches to add pthreads if this is enabled, probably with a compile-time switch. The code reorganisation makes it easy to add also async API, similar to cURL's one.
/php-src/ext/mysqlnd/mysqlnd.c
|
| c52b63e |
|
23-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Merge with internal version
/php-src/ext/mysqlnd/mysqlnd.c
|
| 69f4a40 |
|
23-Jan-2008 |
Andrey Hristov <andrey@php.net> |
Merge with internal version
/php-src/ext/mysqlnd/mysqlnd.c
|
| 5a4f601 |
|
08-Jan-2008 |
Andrey Hristov <andrey@php.net> |
strncpy->strlcpy
/php-src/ext/mysqlnd/mysqlnd.c
|
| 82e3668 |
|
08-Jan-2008 |
Andrey Hristov <andrey@php.net> |
strncpy->strlcpy
/php-src/ext/mysqlnd/mysqlnd.c
|
| 69f7eaa |
|
02-Jan-2008 |
Andrey Hristov <andrey@php.net> |
- Fix problems with double definitions - Clean up a bit a type mess - 4 types less. No need to have aliases for the same thing (unification is the name). - New macro for Johannes mysqlnd_stmt_ro_result_metadata ----------------------------------------------------------------------
/php-src/ext/mysqlnd/mysqlnd.c
|
| fdf20a8 |
|
02-Jan-2008 |
Andrey Hristov <andrey@php.net> |
- Fix problems with double definitions - Clean up a bit a type mess - 4 types less. No need to have aliases for the same thing (unification is the name). - New macro for Johannes mysqlnd_stmt_ro_result_metadata
/php-src/ext/mysqlnd/mysqlnd.c
|
| d1dded8 |
|
31-Dec-2007 |
Sebastian Bergmann <sebastian@php.net> |
MFH: Bump copyright year, 2 of 2.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9b620d5 |
|
31-Dec-2007 |
Sebastian Bergmann <sebastian@php.net> |
Bump copyright year, 2 of 2.
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6d2bcda |
|
08-Nov-2007 |
Andrey Hristov <andrey@php.net> |
Fix segfault in debug build
/php-src/ext/mysqlnd/mysqlnd.c
|
| 6555eb5 |
|
08-Nov-2007 |
Andrey Hristov <andrey@php.net> |
Fix segfault in debug build
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7b23705 |
|
23-Oct-2007 |
Andrey Hristov <andrey@php.net> |
MFB: Fix compile failure on windows
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8b8cd15 |
|
23-Oct-2007 |
Andrey Hristov <andrey@php.net> |
Fix build failure on Windows. Seems "free" can't be used even as method name of a structure. The MS compiler (the preprocessor most probably) changes it to _free_dbg
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8b9b553 |
|
05-Oct-2007 |
Andrey Hristov <andrey@php.net> |
Import mysqlnd Patch ext/mysql and ext/mysqli to support mysqlnd
/php-src/ext/mysqlnd/mysqlnd.c
|
| 9ac92cf |
|
02-Oct-2007 |
Andrey Hristov <andrey@php.net> |
Update mysqlnd in HEAD Updated ext/mysql and ext/mysqli in HEAD
/php-src/ext/mysqlnd/mysqlnd.c
|
| 8146078 |
|
27-Sep-2007 |
Dmitry Stogov <dmitry@php.net> |
Improved memory usage by movig constants to read only memory. (Dmitry, Pierre)
/php-src/ext/mysqlnd/mysqlnd.c
|
| de29322 |
|
06-Aug-2007 |
Andrey Hristov <andrey@php.net> |
Fix crashes with pconn in ext/mysql
/php-src/ext/mysqlnd/mysqlnd.c
|
| 7186530 |
|
03-Aug-2007 |
Andrey Hristov <andrey@php.net> |
Update CVS - Fix BIT problem for BIT values represented with 5 bytes. Typo. - Make it possible with an ini variable to switch off/on statistics collection. - Compile-out debug checking of uneaten data from the line, when the build is release. According to callgrind this was eating some percentage.
/php-src/ext/mysqlnd/mysqlnd.c
|
| f3c2a33 |
|
25-Jul-2007 |
Jani Taskinen <jani@php.net> |
- Moved mysqnd to it's own directory: It is sort of an extension itself. (Similar to what ext/libxml is..)
/php-src/ext/mysqlnd/mysqlnd.c
|