Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Don't forget to update the length too | Andrey Hristov | 2009-10-22 | 1 | -0/+1 |
| | |||||
* | Have the lengths also to skip many calls to strlen | Andrey Hristov | 2009-10-22 | 1 | -1/+18 |
| | |||||
* | Count number of affected_rows for normal and PS queries | Andrey Hristov | 2009-10-22 | 1 | -0/+4 |
| | |||||
* | Fixing host info for TCP/IP and aligning mysqlnd and libmysql | Ulf Wendel | 2009-10-19 | 1 | -3/+4 |
| | |||||
* | Extending mysqlnd statistics/monitoring. Now counting COM_* commands. | Ulf Wendel | 2009-10-16 | 1 | -0/+2 |
| | |||||
* | Making mysqlnd emit no warnings when fetching pooled persistent connections ↵ | Ulf Wendel | 2009-10-15 | 1 | -4/+5 |
| | | | | that have timed out or are unusable for any other reason - bug #49761 | ||||
* | Fixing problems when calling connect (again and again) on a valid connection ↵ | Ulf Wendel | 2009-10-15 | 1 | -2/+14 |
| | | | | handle. Most of the patch comes from Andrey. | ||||
* | Avoid buffer resizing and let the initial buffer allocation happen a couple ↵ | Ulf Wendel | 2009-10-08 | 1 | -2/+0 |
| | | | | 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. | ||||
* | Fixing pconnect statistics. | Ulf Wendel | 2009-10-08 | 1 | -3/+2 |
| | |||||
* | Increase the minimal size of the command buffer, which is used | Andrey Hristov | 2009-10-07 | 1 | -0/+3 |
| | | | | | | for sending queries and in the future commpressed patch for reading almost all packets from the wire instead of using stack buffers. | ||||
* | revert the last change | Andrey Hristov | 2009-10-06 | 1 | -4/+0 |
| | |||||
* | count the queries | Andrey Hristov | 2009-10-06 | 1 | -0/+4 |
| | |||||
* | Use mnd_ wrappers wherever possible. Needed for | Andrey Hristov | 2009-09-30 | 1 | -2/+7 |
| | | | | | statistics. | ||||
* | Fix possible crash when conn is NULL | Andrey Hristov | 2009-09-25 | 1 | -1/+1 |
| | |||||
* | Fix and tests for bug #49511 . mysqlnd and the MySQL Client Library ↵ | Ulf Wendel | 2009-09-16 | 1 | -0/+4 |
| | | | | (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. | ||||
* | Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) | Andrey Hristov | 2009-08-27 | 1 | -51/+83 |
| | |||||
* | Merge with the branch, someone made changes in PHP5_3 and did not merge. | Andrey Hristov | 2009-06-08 | 1 | -2/+2 |
| | | | | | Also switch off the zval cache for now. | ||||
* | - Removed: | Felipe Pena | 2009-03-27 | 1 | -4/+4 |
| | | | | | | | | - UG(unicode) checks - Changed: - ZEND_STR_TYPE -> IS_UNICODE - convert_to_text -> convert_to_unicode |