summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
Commit message (Collapse)AuthorAgeFilesLines
...
* - Fix foldingJohannes Schlüter2011-09-251-1/+1
|
* - fix build (macros mess)Pierre Joye2011-09-171-1/+1
|
* - fix TS buildPierre Joye2011-09-171-1/+1
|
* Fixed Windows buildDmitry Stogov2011-09-161-1/+1
|
* - Fix TSRM buildJohannes Schlüter2011-09-011-2/+2
|
* - Register extensions using mysqlnd (mysql, myslqi, pdo_mysql) with mysqlndJohannes Schlüter2011-08-311-0/+38
|
* fix valgrind warnings in debug buildsAndrey Hristov2011-08-261-1/+1
|
* relax constraintAndrey Hristov2011-08-101-1/+1
|
* Add mysqli_error_list() that returns an array with errors. Typically onlyAndrey Hristov2011-08-041-0/+28
| | | | | | | | 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
* longer error messages, don't cut themAndrey Hristov2011-07-271-2/+2
|
* free data in case of failure in the callee not in the callerAndrey Hristov2011-07-051-5/+3
|
* reuse codeAndrey Hristov2011-05-311-16/+11
|
* fix valgrind warningAndrey Hristov2011-05-041-1/+2
|
* add a proxy for sppintf and vspprintfAndrey Hristov2011-03-181-18/+18
|
* less trace infoAndrey Hristov2011-03-181-22/+2
|
* move from macros to functions, which can be overwritten, if neededAndrey Hristov2011-02-251-1/+41
|
* Don't lose this data anymore. It worked without the fix,Andrey Hristov2011-01-311-2/+3
| | | | | but it with it is just correct (trunk only).
* clear error before doing anything, because we can getAndrey Hristov2011-01-281-0/+3
| | | | | | | | | | 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.
* small cleanupsAndrey Hristov2011-01-241-2/+2
|
* Handle MySQL 5.5 authentication features.Andrey Hristov2011-01-241-59/+198
| | | | | | | | 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.
* fix ZTS buildAndrey Hristov2011-01-191-1/+1
|
* Update on the mysqlnd auth plugins, changed the pluginAndrey Hristov2011-01-141-11/+14
| | | | | | | | 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.
* Change things to allow passing of the password lengthAndrey Hristov2011-01-141-4/+9
| | | | | | | to mysqlnd. This is needed as a password might include a \0 and thus we need to be binary safe.
* grok the MySQL 5.5 extended handshake.Andrey Hristov2011-01-121-159/+105
| | | | | | | | | | 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
* Use common code to handle initial authentication andAndrey Hristov2011-01-111-78/+92
| | | | | COM_CHANGE_USER
* - Year++Felipe Pena2011-01-011-1/+1
|
* extending the API interface - plugins can registerAndrey Hristov2010-12-281-18/+33
| | | | | | | | themselves with a structure and can be searched. Every plugin can have statistics and they are shown under the statistics of mysqlnd in MINFO.
* fix a small bug about affected_rows in the text protocolAndrey Hristov2010-12-161-0/+3
|
* don't crash if the API is used incorrectlyAndrey Hristov2010-12-061-2/+6
|
* profiling in trace modeAndrey Hristov2010-10-221-1/+2
|
* Rename a method so it doesn't clash with a global symbol - a functionAndrey Hristov2010-10-051-6/+6
| | | | | Fix compiler waring by extening the type of a variable
* rename parameter, should not conflict with global symbol - Andrey Hristov2010-10-051-11/+11
| | | | | the socket function
* WS fixesAndrey Hristov2010-09-231-9/+9
|
* Added TSRMLS macros into php_get_current_user()Kalle Sommer Nielsen2010-09-231-2/+0
|
* Fix for Andrey Hristov2010-09-221-4/+29
| | | | | Request #48082 mysql_connect does not work with named pipes
* remove unneeded proxy function _mysqlnd_restart_psessoinAndrey Hristov2010-09-151-10/+0
|
* Remove unneeded proxy function _mysqlnd_end_psessionAndrey Hristov2010-09-151-9/+0
|
* OPT_COMPRESS support for mysqlnd_conn::set_client_optionAndrey Hristov2010-09-011-2/+4
| | | | | To be used by mysqli_options
* Switch from using PHP_MAJOR_VERSION to separate define forAndrey Hristov2010-08-121-3/+3
| | | | | | unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again.
* ws + csAndrey Hristov2010-08-121-10/+8
|
* Lay foundations for named pipe support in mysqlndAndrey Hristov2010-08-091-2/+8
|
* make ssl_set return value in mysqlnd compatible with libmysqli return valueDavid Soria Parra2010-08-061-6/+6
|
* Fix sprintf modifiers all around the place. In most casesAndrey Hristov2010-06-211-23/+22
| | | | | | %u should be used. Where size_t is used then MYSQLND_SZ_T_SPEC should be the modifier
* split mysqlnd_connect() in two parts, one doing the authorizationAndrey Hristov2010-06-171-102/+145
|
* no more needed because of the charset fix in the previous changesetAndrey Hristov2010-06-161-1/+0
|
* Fixed bug #52082 (character_set_client & character_set_connection reset afterAndrey Hristov2010-06-141-1/+16
| | | | | | | | mysqli_change_user()) libmysql >= 5.1.23 will PASS, older library versions will fail
* Don't use NULL pointer, always check before useAndrey Hristov2010-05-271-1/+3
|
* Don't use conn->net without checking if it is NULL, becauseAndrey Hristov2010-05-261-1/+3
| | | | | it can be NULL in OOM conditions. This would cause a crash.
* Handle the situation when MYSQLND_PROTOCOL's methods return NULL.Andrey Hristov2010-05-251-11/+43
| | | | | mysqlnd should not crash but gracefully return with an error.
* Init should return status value because initialization can fail.Andrey Hristov2010-05-251-7/+10
| | | | | In this case mysqlnd_init() should return NULL to the end-user.