summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_statistics.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix possible lock-ups when a trigger triggers a trigger.Andrey Hristov2010-01-191-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.
* export more functionality for phpize buildsAndrey Hristov2010-01-131-1/+1
|
* and another change to make the stats API re-usableAndrey Hristov2010-01-111-3/+1
|
* Rework the statistics macros to be reusable by external entities.Andrey Hristov2010-01-111-136/+85
| | | | | | Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability.
* Add the remaining code for statistics triggersAndrey Hristov2010-01-081-4/+6
|
* export some calls to init/deinit code outside of the moduleAndrey Hristov2010-01-081-2/+2
|
* improve the stats subsystem. Reduce the number of macro definitionsAndrey Hristov2010-01-081-138/+88
| | | | | | in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer from being aggregated and add triggers.
* Fix crash when tracing is enabled. Position after buffer was used alsoAndrey Hristov2009-06-121-34/+69
| | | | | | direct usage of MYSQLND_STRING pointer instead of the "s" property of the structure.
* Fix a very well hidden error because of not being careful with CPP.Andrey Hristov2009-05-291-18/+18
| | | | | I usually don't make this mistake :)
* Bump copyright year, 3 of 3.Sebastian Bergmann2008-12-311-1/+1
|
* 64bit fixes:Andrey Hristov2008-10-311-16/+16
| | | | | | | - fixes to sprintf modifiers, cleaning warnings - use _t types, like uint64_t instead of uint64, thus skipping series of typedefs.
* Fix a crash introduced yesterday in mysqlnd, non-zts mode - missing if () forAndrey Hristov2008-09-161-6/+6
| | | | | | | | STAT_LAST was accessing wrong memory thus overwritting method pointers. Windows doesn't have atoll(), which is C99, C89 has only atoi() + atol(). Win has _atoi64, so use it.
* - More statisticsAndrey Hristov2008-09-121-42/+80
| | | | | | | - Fixed endless loop - mysqlnd_stmt_next_result() returned FAIL but as it is defined to be 1 (and PASS is 0), checking for mysqlnd_stmt_more_result() was successful although we were expecting a FAIL.
* Moved initialization into a separate functionAndrey Hristov2008-01-291-0/+4
|
* - Fix problems with double definitionsAndrey Hristov2008-01-021-8/+8
| | | | | | | | - 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
|
* Update mysqlnd in HEADAndrey Hristov2007-10-021-36/+110
| | | | | Updated ext/mysql and ext/mysqli in HEAD
* Fix crashes with pconn in ext/mysqlAndrey Hristov2007-08-061-1/+1
|
* Update CVSAndrey Hristov2007-08-031-55/+61
| | | | | | | | | - Fix BIT problem for BIT values represented with 5 bytes. Typo. - Make it possible with an ini variable to switch off/on statistics collection. - Compile-out debug checking of uneaten data from the line, when the build is release. According to callgrind this was eating some percentage.
* - Moved mysqnd to it's own directory: It is sort of an extension itself.Jani Taskinen2007-07-251-0/+129
(Similar to what ext/libxml is..)