summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_statistics.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'PHP-7.0'Andrey Hristov2016-03-161-2/+4
|\
| * Fix emails in headers. @mysql.com addresses are no more since many years.Andrey Hristov2016-03-161-4/+3
| |
* | - Make functions static, as they are not needed to be public - exportedAndrey Hristov2016-01-041-1/+3
| | | | | | | | | | | | | | through a structure - Fixed typo in statistic name - Added 2 static functions for copying a MYSQLND_CSTRING and converting a CSTRING to STRING.
* | Merge branch 'PHP-7.0'Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | | | | | * PHP-7.0: Update header to PHP Version 7 Happy new year (Update copyright to 2016) Happy new year (Update copyright to 2016)
| * Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
| |\ | | | | | | | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| | * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| | |
| | * Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-231-0/+1
| | |
| | * bump yearXinchen Hui2015-01-151-1/+1
| | |
| * | Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-231-0/+1
| | |
* | | mysqlnd refactoring:Andrey Hristov2015-11-161-18/+21
| | | | | | | | | | | | | | | | | | | | | - reorganize the statistics code a bit. There is one mysqlnd specific function, for convenience, in mysqlnd_statistics.c - namelyu _mysqlnd_get_client_stats(). The mysqlnd specific stats macros are moved to mysqlnd.h to keep mysqlnd_statistics.h from being mysqlnd specific.
* | | MNDR:Andrey Hristov2015-11-121-7/+2
| | | | | | | | | | | | - move things out of mysqlnd_priv.h
* | | Fix for Bug #70384 mysqli_real_query(): Unknown type 245 sent by the serverAndrey Hristov2015-09-231-0/+1
|/ /
* | Use Zend MM to keep statistic of non-persistent connections ↵Dmitry Stogov2015-09-181-8/+8
| | | | | | | | (calloc/free->pecalloc/pefree)
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-17/+17
| |
* | second shot on removing TSRMLS_*Anatol Belski2014-12-141-3/+3
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-2/+2
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Fixed stat fields nameXinchen Hui2014-06-191-1/+1
| |
* | Second set of changes to mysqlnd for phpng.Andrey Hristov2014-05-201-1/+1
| | | | | | | | | | | | A bit problematic is that the streams seem not to be completely ported. Also there are some hacks in the streams about EG(regular_list) and EG(persistent_list) and these need to be carefully checked. The test suite should catch them, however.
* | Cleanup (1-st round)Dmitry Stogov2014-04-151-1/+1
|/
* Bump yearXinchen Hui2014-01-031-1/+1
|
* Merge branch 'PHP-5.4' into PHP-5.5Xinchen Hui2013-01-061-1/+1
|\
| * Merge branch 'PHP-5.3' into PHP-5.4Xinchen Hui2013-01-061-1/+1
| |\
| | * bump yearXinchen Hui2013-01-061-1/+1
| | |
| | * - Year++Felipe Pena2012-01-011-1/+1
| | |
| | * fix zts buildAndrey Hristov2011-01-191-1/+0
| | |
| | * - don't try to access if calloc fails (quick review of its usage: seems that ↵Pierre Joye2011-01-171-0/+4
| | | | | | | | | | | | the stats member is validated in other places, to be confirmed)
| | * - Year++Felipe Pena2011-01-011-1/+1
| | |
| | * two new statsAndrey Hristov2010-11-051-1/+3
| | |
| | * fix some uninitialized variables. also fix shadowing of global symbolsAndrey Hristov2010-10-071-3/+3
| | |
| | * WS fixesAndrey Hristov2010-09-231-1/+1
| | |
| | * Switch from using PHP_MAJOR_VERSION to separate define forAndrey Hristov2010-08-121-2/+2
| | | | | | | | | | | | | | | | | | unicode. Unicode is no more, but these are "bookmarks" where to change mysqlnd, if Unicode becomes trendy again.
| | * - Fix copyrightsFelipe Pena2010-04-201-2/+2
| | |
| | * CS + WS changesAndrey Hristov2010-04-151-1/+2
| | |
| | * Recommit with an Windows build fix:Andrey Hristov2010-04-061-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix inconsistencies - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
| | * - revert revision 297277, break the builds (declaration must go 1st, size of ↵Pierre Joye2010-04-011-8/+6
| | | | | | | | | | | | void * and other known situations). Also Johannes, can you check that commit pls? Thought we were in bugs fixing only for 5.3
| | * Fix inconsistenciesAndrey Hristov2010-04-011-6/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - memory allocated with spprintf, or likes, outside of mysqlnd's allocator functions should not be freed by the mysqlnd's allocator (a wrapper around emalloc/malloc). - memory allocated by the mysqlnd's allocator should only be freed by it. - add a mode to track memory usage (malloc/free)
| | * Make it coupled - what is allocated with mnd_ should be freedAndrey Hristov2010-03-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | with mnd_ and vice versa. Added mnd_pestrndup and mnd_pestrdup, which wrap the normal calls to be able to track this calls. Fixed some failing tests.
| | * missed to commit in 5_3, here it comes, reusability of statsAndrey Hristov2010-01-111-10/+8
| | |
| | * Rework the statistics macros to be reusable by external entities.Andrey Hristov2010-01-111-2/+5
| | | | | | | | | | | | | | | | | | Rename handlers to triggers. Dynamically allocate space for the statistics thus allow reusability.
| | * missed to commit to the branchAndrey Hristov2010-01-111-2/+36
| | |
| | * 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-0/+2
| | | | | | | | | | | | | | | | | | in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer from being aggregated and add triggers.
| | * Fixing stats, updating test to accept new statsUlf Wendel2009-10-221-1/+0
| | |
| | * Count number of affected_rows for normal and PS queriesAndrey Hristov2009-10-221-0/+3
| | |
| | * Extending mysqlnd statistics/monitoring. Now counting COM_* commands.Ulf Wendel2009-10-161-1/+30
| | |
| | * Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd)Andrey Hristov2009-08-271-1/+3
| | |
| | * MFH:Andrey Hristov2009-06-121-1/+1
| | | | | | | | | | | | | | | | | | | | | Fix crash when tracing is enabled. Position after buffer was used also direct usage of MYSQLND_STRING pointer instead of the "s" property of the structure.
| | * - MFH: Removed UG(unicode) checksFelipe Pena2009-03-301-16/+14
| | |