summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd.c
Commit message (Collapse)AuthorAgeFilesLines
* revert to previous behaviorAndrey Hristov2011-02-251-2/+4
|
* move from macros to functions, which can be overwritten, if neededAndrey Hristov2011-02-251-1/+41
|
* - Year++Felipe Pena2011-01-011-1/+1
|
* 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-8/+8
| | | | | the socket function
* WS fixesAndrey Hristov2010-09-231-9/+9
|
* 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.
* - Give possibility to overload mysqlnd_result_init().Andrey Hristov2010-05-141-2/+3
| | | | | - Always use conn->m->stmt_init instead of mysqlnd_stmt_init()
* Handle gracefully OOM in mysqlnd_mempool_create and up the stackAndrey Hristov2010-05-031-8/+12
|
* Better handing of OOM in mysqlnd::set_client_optionAndrey Hristov2010-05-031-10/+19
|
* Handle OOM cases, in case of persistent connections this is realAndrey Hristov2010-04-291-18/+71
| | | | | and the Zend MM won't help.
* Fix valgrind warning, usage of nirvana memoryAndrey Hristov2010-04-291-1/+1
|
* Fix possible crashes in case of OOM, as well as a leak.Andrey Hristov2010-04-291-2/+21
|
* Move the macro to mysqlnd_enum_n_def.h, because it can be reusedAndrey Hristov2010-04-271-6/+3
| | | | | | in other places. Also, premultiply the values by 4 and add some reserve for future releases of the server.
* Fixed buffer overflow in mysqlnd_change_userAndrey Hristov2010-04-271-4/+4
|
* Fixed possible buffer overflow in mysqlnd_conn__list_fields.Andrey Hristov2010-04-271-4/+6
|
* It is possible that change user tries an user who has old password.Andrey Hristov2010-04-201-0/+4
| | | | | Instead of error message that doesn't say much there is more information now.
* - Fix copyrightsFelipe Pena2010-04-201-2/+2
|
* Fix some int/uint comparison warningsAndrey Hristov2010-04-151-1/+1
|
* more WSAndrey Hristov2010-04-151-15/+15
|
* CS + WS changesAndrey Hristov2010-04-151-17/+10
|
* Fix for bug#49234 method not found ssl_setAndrey Hristov2010-04-151-26/+59
| | | | | Patch was tested and compiles on Windows. (Thanks Kalle)
* Recommit with an Windows build fix:Andrey Hristov2010-04-061-20/+15
| | | | | | | | | | | | 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)
* - revert revision 297277, break the builds (declaration must go 1st, size of ↵Pierre Joye2010-04-011-15/+20
| | | | void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
* Fix inconsistenciesAndrey Hristov2010-04-011-20/+15
| | | | | | | | | | - 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)
* Make it coupled - what is allocated with mnd_ should be freedAndrey Hristov2010-03-291-41/+39
| | | | | | | | 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.
* Fix tests that fail when the MySQL's socket file is not /tmp/mysql.sockAndrey Hristov2010-03-261-2/+6
| | | | | | | | | 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.
* allow persistency of PSAndrey Hristov2010-03-121-3/+3
|
* Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, ↵Adam Harvey2010-03-091-3/+4
| | | | but 0).
* Fix the text. Correct english and a bit shorter.Andrey Hristov2010-02-241-4/+4
|
* add better description to the problemAndrey Hristov2010-02-241-1/+5
|
* make send_close a hook, tooAndrey Hristov2010-02-091-7/+6
|
* Pass tsrmls to all functions, which might need it in the future.Andrey Hristov2010-02-031-23/+18
| | | | | | We are anyway breaking the internal ABI in 5.3.2 so this won't hurt and make us prepared for the future.