Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | decouple the methods in MYSQLND_STMT from the data, | Andrey Hristov | 2010-03-16 | 5 | -161/+179 |
| | | | | | | | | 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 | 10 | -124/+134 |
| | |||||
* | 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 |
| | |||||
* | 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 | 2 | -7/+7 |
| | |||||
* | Pass tsrmls to all functions, which might need it in the future. | Andrey Hristov | 2010-02-03 | 6 | -142/+122 |
| | | | | | | We are anyway breaking the internal ABI in 5.3.2 so this won't hurt and make us prepared for the future. | ||||
* | Fix second bug in that code, + instead of += thus not increasing | Andrey Hristov | 2010-02-01 | 1 | -1/+1 |
| | | | | | | a pointer and mangling data. Again, ext/mysql and ext/mysqli doesn't have access to this codepath. | ||||
* | Fix a bug in mysqlnd where a pointer was not incremented | Andrey Hristov | 2010-02-01 | 1 | -0/+1 |
| | | | | | | | | and thus wrong data was saved MYSQLND_FIELD::db. However, this wasn't caught because there is no code in mysql/mysqli/pdo_mysql which reads that field of the structure. The problem was found during code review. | ||||
* | decrement correctly! | Andrey Hristov | 2010-01-21 | 1 | -2/+4 |
| | |||||
* | Add possibility to restrain the number of levels | Andrey Hristov | 2010-01-21 | 2 | -7/+25 |
| | |||||
* | Fix possible lock-ups when a trigger triggers a trigger. | Andrey Hristov | 2010-01-19 | 1 | -37/+16 |
| | | | | | | | Hanging was possible on the subsequent try to acquire a mutex. Now it is correctly implemented and if a trigger is being executed then no other trigger will be fired, on recursive calls. | ||||
* | Make it GCC only feature (tracing). VC7 and up do the work | Andrey Hristov | 2010-01-19 | 1 | -1/+1 |
| | | | | | too and it might be tweaked later. | ||||
* | fix windows | Andrey Hristov | 2010-01-19 | 1 | -0/+13 |
| | |||||
* | Fix compiler warning, copy&paste error | Andrey Hristov | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | Fix compiler warning | Andrey Hristov | 2010-01-14 | 1 | -1/+1 |
| | |||||
* | remove redefinition of bit_uint8korr | Andrey Hristov | 2010-01-14 | 1 | -10/+0 |
| | |||||
* | more PHPAPI for phpize-d builds | Andrey Hristov | 2010-01-13 | 1 | -8/+8 |
| | |||||
* | export more functionality for phpize builds | Andrey Hristov | 2010-01-13 | 11 | -34/+35 |
| | |||||
* | make mysqlnd's tracing API more reusable | Andrey Hristov | 2010-01-13 | 5 | -41/+73 |
| | |||||
* | more typedef cosmetics | Andrey Hristov | 2010-01-11 | 2 | -14/+14 |
| | |||||
* | remove stale export | Andrey Hristov | 2010-01-11 | 1 | -2/+0 |
| | |||||
* | cosmetics. typedef-ed types should be in capital case | Andrey Hristov | 2010-01-11 | 8 | -133/+131 |
| | |||||
* | remove extern defintion of a variable that is no more | Andrey Hristov | 2010-01-11 | 2 | -6/+3 |
| | | | | | | used outside of the file where it is declared. Also really export with PHPAPI the protocol init/deinit functions | ||||
* | this function should be exporten in all cases, not only under PHP6 | Andrey Hristov | 2010-01-11 | 2 | -1/+3 |
| | |||||
* | missed to commit in 5_3, here it comes, reusability of stats | Andrey Hristov | 2010-01-11 | 1 | -1/+1 |
| | |||||
* | and another change to make the stats API re-usable | Andrey Hristov | 2010-01-11 | 3 | -13/+9 |
| | |||||
* | Rework the statistics macros to be reusable by external entities. | Andrey Hristov | 2010-01-11 | 4 | -141/+94 |
| | | | | | | 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 | 3 | -9/+45 |
| | |||||
* | export some calls to init/deinit code outside of the module | Andrey Hristov | 2010-01-08 | 5 | -10/+10 |
| | |||||
* | improve the stats subsystem. Reduce the number of macro definitions | Andrey Hristov | 2010-01-08 | 8 | -193/+156 |
| | | | | | | 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 | 5 | -11/+64 |
| | |||||
* | Change of way the packet objects are created/initialised | Andrey Hristov | 2010-01-07 | 9 | -176/+388 |
| | | | | | | | | 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. | ||||
* | sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php | Sebastian Bergmann | 2010-01-03 | 2 | -2/+2 |
| | |||||
* | move network creation to the init hook | Andrey Hristov | 2009-12-28 | 2 | -5/+21 |
| | |||||
* | Unify. The typedef-ed structs in mysqlnd are always capitalized. | Andrey Hristov | 2009-12-23 | 2 | -12/+12 |
| | |||||
* | install mysqlnd headers to allow shared build of extensions | Johannes Schlüter | 2009-12-22 | 1 | -0/+1 |
| | |||||
* | 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 | ||||
* | Move this function to MYSQLND_NET as it works on the | Andrey Hristov | 2009-12-21 | 5 | -54/+53 |
| | | | | | php stream | ||||
* | magic numbers to macros | Andrey Hristov | 2009-12-21 | 1 | -18/+20 |
| | |||||
* | Move compression and decompression code to separate functions | Andrey Hristov | 2009-12-21 | 2 | -19/+49 |
| | | | | | which can be overloaded on purpose. | ||||
* | refactoring : move more network related functions to | Andrey Hristov | 2009-12-17 | 4 | -364/+365 |
| | | | | | | | mysqlnd_net.c . Now communication is split on two levels: - logical (functions send and receive) - physical (functions network_read and network_write) | ||||
* | During refactoring of the function mysqlnd_stream_write_w_header() it was | Andrey Hristov | 2009-12-17 | 1 | -91/+47 |
| | | | | | | | | | | found that there is a bug in the way the data is sent, although a very rare one which will only affect very large queries which have length 16777214. The communication will hang. A way to test it is to execute the following: ./php -r '$c=mysqli_connect("127.0.0.1","root","root","test"); $q="insert into test.tblob values(\"".str_repeat("a",256*256*256-1-34)."\")"; $c->query($q);' | ||||
* | call free_contents in every case, in case something is not freed | Andrey Hristov | 2009-12-16 | 1 | -0/+1 |
| | | | | | by the calling code | ||||
* | Remove unneeded dereferences | Andrey Hristov | 2009-12-16 | 1 | -14/+6 |
| | |||||
* | move MYSQLND_NET code to a separate file. | Andrey Hristov | 2009-12-16 | 7 | -285/+352 |
| | | | | | | mysqlnd_wireprotocol is about the protocol not the transport layer | ||||
* | 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 | 3 | -76/+96 |
| | | | | | | Thus mysqlnd_conn::connect() does less of what it should not do - think about the transport level. |