summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_structs.h
Commit message (Collapse)AuthorAgeFilesLines
* decouple the methods in MYSQLND_STMT from the data,Andrey Hristov2010-03-161-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 PSAndrey Hristov2010-03-121-9/+15
|
* add typedefs for all structure methods, and then reuse these typedefsAndrey Hristov2010-02-151-165/+338
|
* make send_close a hook, tooAndrey Hristov2010-02-091-0/+1
|
* Pass tsrmls to all functions, which might need it in the future.Andrey Hristov2010-02-031-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 caseAndrey Hristov2010-01-111-28/+26
|
* Rework the statistics macros to be reusable by external entities.Andrey Hristov2010-01-111-1/+2
| | | | | | Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability.
* Add the remaining code for statistics triggersAndrey Hristov2010-01-081-3/+3
|
* improve the stats subsystem. Reduce the number of macro definitionsAndrey Hristov2010-01-081-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 hooksAndrey Hristov2010-01-081-0/+3
|
* Change of way the packet objects are created/initialisedAndrey Hristov2010-01-071-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 hookAndrey Hristov2009-12-281-0/+1
|
* Unify. The typedef-ed structs in mysqlnd are always capitalized.Andrey Hristov2009-12-231-7/+7
|
* Move this function to MYSQLND_NET as it works on theAndrey Hristov2009-12-211-0/+1
| | | | | php stream
* Move compression and decompression code to separate functionsAndrey Hristov2009-12-211-0/+2
| | | | | which can be overloaded on purpose.
* refactoring : move more network related functions toAndrey Hristov2009-12-171-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 Hristov2009-12-151-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 MYSQLNDAndrey Hristov2009-12-151-26/+41
|
* Make MYSQLND_NET dynamically allocated structure with allocatorAndrey Hristov2009-12-111-3/+3
| | | | | and deallocator. More member functions will come.
* Move two functions which are used in the extension as methods ofAndrey Hristov2009-12-111-2/+3
| | | | | the connection. Two functions less in the global namespace.
* Remove stub code which never actually was used for anything.Andrey Hristov2009-12-091-7/+0
| | | | | Things like this can be built on top of the core.
* Remove the zval caching from mysqlnd. It was disabled versions agoAndrey Hristov2009-12-091-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 implementedAndrey Hristov2009-12-091-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 warningAndrey Hristov2009-11-261-1/+1
| | | | | (a header not included)
* Compressed protocol support + extensibility for mysqlndAndrey Hristov2009-11-201-15/+50
|
* Have the lengths also to skip many calls to strlenAndrey Hristov2009-10-221-1/+7
|
* Making mysqlnd emit no warnings when fetching pooled persistent connections ↵Ulf Wendel2009-10-151-1/+1
| | | | that have timed out or are unusable for any other reason - bug #49761
* revert the last changeAndrey Hristov2009-10-061-1/+0
|
* count the queriesAndrey Hristov2009-10-061-0/+1
|
* Fix ZTS buildAndrey Hristov2009-09-301-4/+4
|
* Fix for bug#48745Andrey Hristov2009-08-281-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 Hristov2009-08-271-0/+1
|
* Hardwire function call instead of using callbacks. We don't actually needAndrey Hristov2009-06-161-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 Bergmann2008-12-311-1/+1
|
* mysqlnd fixes for Windows :Andrey Hristov2008-11-201-2/+2
| | | | | | - less warnings - PHPAPI for mysqlnd_poll
* Asynchronous queries for mysqli, when mysqlnd is enabled.Andrey Hristov2008-11-181-0/+2
| | | | | Includes 4 tests for mysqli_poll
* Get rid of many defines (which simplifies the code a lot),Andrey Hristov2008-11-061-20/+20
| | | | | as well as uint->unsigned int
* 64bit fixes:Andrey Hristov2008-10-311-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 Hristov2008-09-151-1/+1
|
* Update ext/mysql's and ext/mysqli's testsAndrey Hristov2008-04-241-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 treeAndrey Hristov2008-04-161-36/+44
|
* MFB : Fix for Bug #43832 mysqi_get_charset() doesn't expose charset commentAndrey Hristov2008-03-251-7/+8
|
* cvs syncAndrey Hristov2008-02-111-3/+0
|
* fix win32 buildRob Richards2008-01-291-1/+1
|
* MFB:Andrey Hristov2008-01-281-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 callsAndrey Hristov2008-01-281-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 versionAndrey Hristov2008-01-231-2/+4
|
* Remove unneeded fieldAndrey Hristov2008-01-031-1/+0
|
* - Fix problems with double definitionsAndrey Hristov2008-01-021-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 Bergmann2007-12-311-1/+1
|