Andrey Hristov
6af43eaccb
missed to commit in 5_3, here it comes, reusability of stats
2010-01-11 18:31:02 +00:00
Andrey Hristov
1ea390938b
and another change to make the stats API re-usable
2010-01-11 18:27:31 +00:00
Andrey Hristov
41ead37c04
Rework the statistics macros to be reusable by external entities.
...
Rename handlers to triggers. Dynamically allocate space for the
statistics thus allow reusability.
2010-01-11 14:27:35 +00:00
Andrey Hristov
b2fcc0587f
Add the remaining code for statistics triggers
2010-01-08 19:14:06 +00:00
Andrey Hristov
b1ac377163
export some calls to init/deinit code outside of the module
2010-01-08 18:52:08 +00:00
Andrey Hristov
a98a67940a
improve the stats subsystem. Reduce the number of macro definitions
...
in half by smartly introducing 2 new macros. Make MYSQLND::stats a pointer
from being aggregated and add triggers.
2010-01-08 17:35:20 +00:00
Ulf Wendel
277846d23c
Fixing stats, updating test to accept new stats
2009-10-22 16:05:33 +00:00
Andrey Hristov
8792edcf76
Count number of affected_rows for normal and PS queries
2009-10-22 14:30:51 +00:00
Ulf Wendel
f0e6db4d56
Extending mysqlnd statistics/monitoring. Now counting COM_* commands.
2009-10-16 13:02:01 +00:00
Andrey Hristov
149914f644
Fixed bug #49027 (mysqli_options() doesn't work when using mysqlnd)
2009-08-27 13:16:39 +00:00
Andrey Hristov
dc9d37998f
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.
2009-06-12 13:24:37 +00:00
Felipe Pena
cf5e94b010
- Sync with 5.3
2009-03-30 19:43:47 +00:00
Felipe Pena
04c90a0f51
- Removed:
...
- UG(unicode) checks
- Changed:
- ZEND_STR_TYPE -> IS_UNICODE
- convert_to_text -> convert_to_unicode
2009-03-27 19:28:26 +00:00
Sebastian Bergmann
7f4dc8702a
Bump copyright year, 3 of 3.
2008-12-31 11:12:40 +00:00
Andrey Hristov
c52f1524e7
Fix a name
2008-10-27 14:38:17 +00:00
Andrey Hristov
5b93dff141
- More statistics
...
- 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.
2008-09-12 15:06:55 +00:00
Andrey Hristov
493b0bb51b
Update mysqlnd - new ini variable
2008-05-07 15:16:27 +00:00
Andrey Hristov
2687e55829
Moved initialization into a separate function
2008-01-29 12:00:52 +00:00
Sebastian Bergmann
9b620d50b4
Bump copyright year, 2 of 2.
2007-12-31 07:12:20 +00:00
Andrey Hristov
9ac92cfecb
Update mysqlnd in HEAD
...
Updated ext/mysql and ext/mysqli in HEAD
2007-10-02 10:45:27 +00:00
Jani Taskinen
f3c2a33f42
- Moved mysqnd to it's own directory: It is sort of an extension itself.
...
(Similar to what ext/libxml is..)
2007-07-25 23:47:33 +00:00