Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | decouple the methods in MYSQLND_STMT from the data, | Andrey Hristov | 2010-03-16 | 1 | -2/+10 |
| | | | | | | | | needed to move to a new structure MYSQLND_STMT. Makes the code cleaner and less error-prone. Also fix PDO/MySQL which directly touch mysqlnd internals instead of using API calls. | ||||
* | allow persistency of PS | Andrey Hristov | 2010-03-12 | 1 | -9/+15 |
| | |||||
* | add typedefs for all structure methods, and then reuse these typedefs | Andrey Hristov | 2010-02-15 | 1 | -165/+338 |
| | |||||
* | make send_close a hook, too | Andrey Hristov | 2010-02-09 | 1 | -0/+1 |
| | |||||
* | Pass tsrmls to all functions, which might need it in the future. | Andrey Hristov | 2010-02-03 | 1 | -38/+37 |
| | | | | | | We are anyway breaking the internal ABI in 5.3.2 so this won't hurt and make us prepared for the future. | ||||
* | cosmetics. typedef-ed types should be in capital case | Andrey Hristov | 2010-01-11 | 1 | -28/+26 |
| | |||||
* | Rework the statistics macros to be reusable by external entities. | Andrey Hristov | 2010-01-11 | 1 | -1/+2 |
| | | | | | | Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability. | ||||
* | Add the remaining code for statistics triggers | Andrey Hristov | 2010-01-08 | 1 | -3/+3 |
| | |||||
* | improve the stats subsystem. Reduce the number of macro definitions | Andrey Hristov | 2010-01-08 | 1 | -4/+10 |
| | | | | | | 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 | -0/+3 |
| | |||||
* | Change of way the packet objects are created/initialised | Andrey Hristov | 2010-01-07 | 1 | -0/+38 |
| | | | | | | | | 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 | -0/+1 |
| | |||||
* | Unify. The typedef-ed structs in mysqlnd are always capitalized. | Andrey Hristov | 2009-12-23 | 1 | -7/+7 |
| | |||||
* | Move this function to MYSQLND_NET as it works on the | Andrey Hristov | 2009-12-21 | 1 | -0/+1 |
| | | | | | php stream | ||||
* | Move compression and decompression code to separate functions | Andrey Hristov | 2009-12-21 | 1 | -0/+2 |
| | | | | | which can be overloaded on purpose. | ||||
* | refactoring : move more network related functions to | Andrey Hristov | 2009-12-17 | 1 | -2/+4 |
| | | | | | | | mysqlnd_net.c . Now communication is split on two levels: - logical (functions send and receive) - physical (functions network_read and network_write) | ||||
* | Move code out of mysqlnd_conn::connect to mysqlnd_net::connect. | Andrey Hristov | 2009-12-15 | 1 | -0/+1 |
| | | | | | | Thus mysqlnd_conn::connect() does less of what it should not do - think about the transport level. | ||||
* | refactor: move code that belongs to MYSQLND_NET out of MYSQLND | Andrey Hristov | 2009-12-15 | 1 | -26/+41 |
| | |||||
* | Make MYSQLND_NET dynamically allocated structure with allocator | Andrey Hristov | 2009-12-11 | 1 | -3/+3 |
| | | | | | and deallocator. More member functions will come. | ||||
* | Move two functions which are used in the extension as methods of | Andrey Hristov | 2009-12-11 | 1 | -2/+3 |
| | | | | | 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 | -7/+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 | -10/+1 |
| | | | | | | 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 | -44/+0 |
| | | | | | | on a upper level and by offloading it we reduce the complexity of the core. | ||||
* | 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 | -15/+50 |
| | |||||
* | Have the lengths also to skip many calls to strlen | Andrey Hristov | 2009-10-22 | 1 | -1/+7 |
| | |||||
* | Making mysqlnd emit no warnings when fetching pooled persistent connections ↵ | Ulf Wendel | 2009-10-15 | 1 | -1/+1 |
| | | | | that have timed out or are unusable for any other reason - bug #49761 | ||||
* | revert the last change | Andrey Hristov | 2009-10-06 | 1 | -1/+0 |
| | |||||
* | count the queries | Andrey Hristov | 2009-10-06 | 1 | -0/+1 |
| | |||||
* | Fix ZTS build | Andrey Hristov | 2009-09-30 | 1 | -4/+4 |
| | |||||
* | Fix for bug#48745 | Andrey Hristov | 2009-08-28 | 1 | -2/+4 |
| | | | | | mysqlnd: mysql_num_fields returns wrong column count for mysql_list_fields | ||||
* | Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd) | Andrey Hristov | 2009-08-27 | 1 | -0/+1 |
| | |||||
* | Hardwire function call instead of using callbacks. We don't actually need | Andrey Hristov | 2009-06-16 | 1 | -4/+2 |
| | | | | | | | | | callbacks, it was done for making 2 functions static, not to pollute the global functions space but that had its price of 8 bytes overheat per allocation, which is just too much. Also making the app member 32b instead of 64b, which should save additional 4 byte, to the total of 12 byte per allocation of a row buffer. | ||||
* | Bump copyright year, 3 of 3. | Sebastian Bergmann | 2008-12-31 | 1 | -1/+1 |
| | |||||
* | mysqlnd fixes for Windows : | Andrey Hristov | 2008-11-20 | 1 | -2/+2 |
| | | | | | | - less warnings - PHPAPI for mysqlnd_poll | ||||
* | Asynchronous queries for mysqli, when mysqlnd is enabled. | Andrey Hristov | 2008-11-18 | 1 | -0/+2 |
| | | | | | Includes 4 tests for mysqli_poll | ||||
* | Get rid of many defines (which simplifies the code a lot), | Andrey Hristov | 2008-11-06 | 1 | -20/+20 |
| | | | | | as well as uint->unsigned int | ||||
* | 64bit fixes: | Andrey Hristov | 2008-10-31 | 1 | -20/+20 |
| | | | | | | | - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs. | ||||
* | Add float conversions too. Float users should understand how float works!!! | Andrey Hristov | 2008-09-15 | 1 | -1/+1 |
| | |||||
* | Update ext/mysql's and ext/mysqli's tests | Andrey Hristov | 2008-04-24 | 1 | -6/+8 |
| | | | | | | Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in mysqlnd builds as libmysql doesn't support this feature. | ||||
* | Update ext/mysql, ext/mysqli and ext/mysqlnd from development tree | Andrey Hristov | 2008-04-16 | 1 | -36/+44 |
| | |||||
* | MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset comment | Andrey Hristov | 2008-03-25 | 1 | -7/+8 |
| | |||||
* | cvs sync | Andrey Hristov | 2008-02-11 | 1 | -3/+0 |
| | |||||
* | fix win32 build | Rob Richards | 2008-01-29 | 1 | -1/+1 |
| | |||||
* | MFB: | Andrey Hristov | 2008-01-28 | 1 | -1/+2 |
| | | | | | | | some config.w32 fixes moved mysqlnd's block allocator to a separate file and also now it's part of the connection, no MT problems. | ||||
* | MFB: More optimizations - less MM calls | Andrey Hristov | 2008-01-28 | 1 | -8/+89 |
| | | | | | | | | | | Clearly separated fetching (physical reading) from decoding phases (data interpretation). Threaded fetching added but disabled as needs more work for Windows. For Linux needs some touches to add pthreads if this is enabled, probably with a compile-time switch. The code reorganisation makes it easy to add also async API, similar to cURL's one. | ||||
* | Merge with internal version | Andrey Hristov | 2008-01-23 | 1 | -2/+4 |
| | |||||
* | Remove unneeded field | Andrey Hristov | 2008-01-03 | 1 | -1/+0 |
| | |||||
* | - Fix problems with double definitions | Andrey Hristov | 2008-01-02 | 1 | -15/+15 |
| | | | | | | | | - Clean up a bit a type mess - 4 types less. No need to have aliases for the same thing (unification is the name). - New macro for Johannes mysqlnd_stmt_ro_result_metadata ---------------------------------------------------------------------- | ||||
* | Bump copyright year, 2 of 2. | Sebastian Bergmann | 2007-12-31 | 1 | -1/+1 |
| |