Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - 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 | |
| | ||||||
* | Pass tsrmls to all functions, which might need it in the future. | Andrey Hristov | 2010-02-03 | 1 | -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. | |||||
* | more PHPAPI for phpize-d builds | Andrey Hristov | 2010-01-13 | 1 | -8/+8 | |
| | ||||||
* | cosmetics. typedef-ed types should be in capital case | Andrey Hristov | 2010-01-11 | 1 | -11/+11 | |
| | ||||||
* | and another change to make the stats API re-usable | Andrey Hristov | 2010-01-11 | 1 | -1/+1 | |
| | ||||||
* | Rework the statistics macros to be reusable by external entities. | Andrey Hristov | 2010-01-11 | 1 | -2/+2 | |
| | | | | | | Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability. | |||||
* | improve the stats subsystem. Reduce the number of macro definitions | Andrey Hristov | 2010-01-08 | 1 | -17/+22 | |
| | | | | | | in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer from being aggregated and add triggers. | |||||
* | add restart_psession and end_psession hooks | Andrey Hristov | 2010-01-08 | 1 | -10/+29 | |
| | ||||||
* | Change of way the packet objects are created/initialised | Andrey Hristov | 2010-01-07 | 1 | -88/+85 | |
| | | | | | | | | 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. | |||||
* | move network creation to the init hook | Andrey Hristov | 2009-12-28 | 1 | -5/+20 | |
| | ||||||
* | Fix double calls to free_contents if the connection cannot be | Andrey Hristov | 2009-12-22 | 1 | -2/+3 | |
| | | | | | | opened. mysqlnd have no probs, external code should not have too. In any case, double call is not needed. | |||||
* | move state setting to the right place, in mysqlnd_init, no more | Andrey Hristov | 2009-12-22 | 1 | -2/+2 | |
| | | | | | in mysqlnd::connect | |||||
* | remove duplicated code | Andrey Hristov | 2009-12-15 | 1 | -8/+2 | |
| | ||||||
* | Move code out of mysqlnd_conn::connect to mysqlnd_net::connect. | Andrey Hristov | 2009-12-15 | 1 | -76/+5 | |
| | | | | | | Thus mysqlnd_conn::connect() does less of what it should not do - think about the transport level. | |||||
* | export this function | Andrey Hristov | 2009-12-15 | 1 | -1/+1 | |
| | ||||||
* | refactor: move code that belongs to MYSQLND_NET out of MYSQLND | Andrey Hristov | 2009-12-15 | 1 | -49/+21 | |
| | ||||||
* | Make MYSQLND_NET dynamically allocated structure with allocator | Andrey Hristov | 2009-12-11 | 1 | -48/+37 | |
| | | | | | and deallocator. More member functions will come. | |||||
* | remove stale comment | Andrey Hristov | 2009-12-11 | 1 | -1/+0 | |
| | ||||||
* | Move two functions which are used in the extension as methods of | Andrey Hristov | 2009-12-11 | 1 | -30/+30 | |
| | | | | | the connection. Two functions less in the global namespace. | |||||
* | Remove stub code which never actually was used for anything. | Andrey Hristov | 2009-12-09 | 1 | -5/+0 | |
| | | | | | Things like this can be built on top of the core. | |||||
* | Remove the zval caching from mysqlnd. It was disabled versions ago | Andrey Hristov | 2009-12-09 | 1 | -16/+5 | |
| | | | | | | due to problems on windows, which were not debugged. Better have code that is disabled not in the core. | |||||
* | Remove disabled code - threaded fetching. This can be implemented | Andrey Hristov | 2009-12-09 | 1 | -98/+0 | |
| | | | | | | on a upper level and by offloading it we reduce the complexity of the core. | |||||
* | I svn-commit.2.tmp (Modified) ↵ | Andrey Hristov | 2009-12-03 | 1 | -3/+1 | |
| | | | | | | | | 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 | |||||
* | - disable this debug code until it is actually fixed | Pierre Joye | 2009-12-03 | 1 | -0/+2 | |
| | ||||||
* | fix segfault introduced by Pierre in a recent commit | Andrey Hristov | 2009-12-03 | 1 | -1/+1 | |
| | | | | | | | | 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. | |||||
* | - void is NaN, you can't do math ops on void. Declarations go first. Fix TS ↵ | Pierre Joye | 2009-11-30 | 1 | -1/+1 | |
| | | | | build | |||||
* | fix debug windows build as well as remove a compilation warning | Andrey Hristov | 2009-11-26 | 1 | -1/+1 | |
| | | | | | (a header not included) | |||||
* | Compressed protocol support + extensibility for mysqlnd | Andrey Hristov | 2009-11-20 | 1 | -57/+149 | |
| |