Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | grok the MySQL 5.5 extended handshake. | Andrey Hristov | 2011-01-12 | 1 | -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 and | Andrey Hristov | 2011-01-11 | 1 | -78/+92 | |
| | | | | | COM_CHANGE_USER | |||||
* | - Year++ | Felipe Pena | 2011-01-01 | 1 | -1/+1 | |
| | ||||||
* | extending the API interface - plugins can register | Andrey Hristov | 2010-12-28 | 1 | -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 protocol | Andrey Hristov | 2010-12-16 | 1 | -0/+3 | |
| | ||||||
* | don't crash if the API is used incorrectly | Andrey Hristov | 2010-12-06 | 1 | -2/+6 | |
| | ||||||
* | profiling in trace mode | Andrey Hristov | 2010-10-22 | 1 | -1/+2 | |
| | ||||||
* | Rename a method so it doesn't clash with a global symbol - a function | Andrey Hristov | 2010-10-05 | 1 | -6/+6 | |
| | | | | | Fix compiler waring by extening the type of a variable | |||||
* | rename parameter, should not conflict with global symbol - | Andrey Hristov | 2010-10-05 | 1 | -11/+11 | |
| | | | | | the socket function | |||||
* | WS fixes | Andrey Hristov | 2010-09-23 | 1 | -9/+9 | |
| | ||||||
* | Added TSRMLS macros into php_get_current_user() | Kalle Sommer Nielsen | 2010-09-23 | 1 | -2/+0 | |
| | ||||||
* | Fix for | Andrey Hristov | 2010-09-22 | 1 | -4/+29 | |
| | | | | | Request #48082 mysql_connect does not work with named pipes | |||||
* | remove unneeded proxy function _mysqlnd_restart_psessoin | Andrey Hristov | 2010-09-15 | 1 | -10/+0 | |
| | ||||||
* | Remove unneeded proxy function _mysqlnd_end_psession | Andrey Hristov | 2010-09-15 | 1 | -9/+0 | |
| | ||||||
* | OPT_COMPRESS support for mysqlnd_conn::set_client_option | Andrey Hristov | 2010-09-01 | 1 | -2/+4 | |
| | | | | | To be used by mysqli_options | |||||
* | Switch from using PHP_MAJOR_VERSION to separate define for | Andrey Hristov | 2010-08-12 | 1 | -3/+3 | |
| | | | | | | unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again. | |||||
* | ws + cs | Andrey Hristov | 2010-08-12 | 1 | -10/+8 | |
| | ||||||
* | Lay foundations for named pipe support in mysqlnd | Andrey Hristov | 2010-08-09 | 1 | -2/+8 | |
| | ||||||
* | make ssl_set return value in mysqlnd compatible with libmysqli return value | David Soria Parra | 2010-08-06 | 1 | -6/+6 | |
| | ||||||
* | Fix sprintf modifiers all around the place. In most cases | Andrey Hristov | 2010-06-21 | 1 | -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 authorization | Andrey Hristov | 2010-06-17 | 1 | -102/+145 | |
| | ||||||
* | no more needed because of the charset fix in the previous changeset | Andrey Hristov | 2010-06-16 | 1 | -1/+0 | |
| | ||||||
* | Fixed bug #52082 (character_set_client & character_set_connection reset after | Andrey Hristov | 2010-06-14 | 1 | -1/+16 | |
| | | | | | | | | mysqli_change_user()) libmysql >= 5.1.23 will PASS, older library versions will fail | |||||
* | Don't use NULL pointer, always check before use | Andrey Hristov | 2010-05-27 | 1 | -1/+3 | |
| | ||||||
* | Don't use conn->net without checking if it is NULL, because | Andrey Hristov | 2010-05-26 | 1 | -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 Hristov | 2010-05-25 | 1 | -11/+43 | |
| | | | | | mysqlnd should not crash but gracefully return with an error. | |||||
* | Init should return status value because initialization can fail. | Andrey Hristov | 2010-05-25 | 1 | -7/+10 | |
| | | | | | In this case mysqlnd_init() should return NULL to the end-user. | |||||
* | - Give possibility to overload mysqlnd_result_init(). | Andrey Hristov | 2010-05-14 | 1 | -2/+3 | |
| | | | | | - Always use conn->m->stmt_init instead of mysqlnd_stmt_init() | |||||
* | Handle gracefully OOM in mysqlnd_mempool_create and up the stack | Andrey Hristov | 2010-05-03 | 1 | -8/+12 | |
| | ||||||
* | Better handing of OOM in mysqlnd::set_client_option | Andrey Hristov | 2010-05-03 | 1 | -10/+19 | |
| | ||||||
* | Handle OOM cases, in case of persistent connections this is real | Andrey Hristov | 2010-04-29 | 1 | -18/+71 | |
| | | | | | and the Zend MM won't help. | |||||
* | Fix valgrind warning, usage of nirvana memory | Andrey Hristov | 2010-04-29 | 1 | -1/+1 | |
| | ||||||
* | Fix possible crashes in case of OOM, as well as a leak. | Andrey Hristov | 2010-04-29 | 1 | -2/+21 | |
| | ||||||
* | Move the macro to mysqlnd_enum_n_def.h, because it can be reused | Andrey Hristov | 2010-04-27 | 1 | -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_user | Andrey Hristov | 2010-04-27 | 1 | -4/+4 | |
| | ||||||
* | Fixed possible buffer overflow in mysqlnd_conn__list_fields. | Andrey Hristov | 2010-04-27 | 1 | -4/+6 | |
| | ||||||
* | It is possible that change user tries an user who has old password. | Andrey Hristov | 2010-04-20 | 1 | -0/+4 | |
| | | | | | Instead of error message that doesn't say much there is more information now. | |||||
* | - Fix copyrights | Felipe Pena | 2010-04-20 | 1 | -2/+2 | |
| | ||||||
* | Fix some int/uint comparison warnings | Andrey Hristov | 2010-04-15 | 1 | -1/+1 | |
| | ||||||
* | more WS | Andrey Hristov | 2010-04-15 | 1 | -15/+15 | |
| | ||||||
* | CS + WS changes | Andrey Hristov | 2010-04-15 | 1 | -17/+10 | |
| | ||||||
* | Fix for bug#49234 method not found ssl_set | Andrey Hristov | 2010-04-15 | 1 | -26/+59 | |
| | | | | | Patch was tested and compiles on Windows. (Thanks Kalle) | |||||
* | Fix inconsistencies | Andrey Hristov | 2010-04-01 | 1 | -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 freed | Andrey Hristov | 2010-03-29 | 1 | -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.sock | Andrey Hristov | 2010-03-26 | 1 | -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 PS | Andrey Hristov | 2010-03-12 | 1 | -3/+3 | |
| | ||||||
* | Fixed bug #51242 (Empty mysql.default_port does not default to 3306 anymore, ↵ | Adam Harvey | 2010-03-09 | 1 | -3/+4 | |
| | | | | but 0). | |||||
* | Fix the text. Correct english and a bit shorter. | Andrey Hristov | 2010-02-24 | 1 | -4/+4 | |
| | ||||||
* | add better description to the problem | Andrey Hristov | 2010-02-24 | 1 | -1/+5 | |
| | ||||||
* | make send_close a hook, too | Andrey Hristov | 2010-02-09 | 1 | -7/+6 | |
| |