summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/mysqlnd_statistics.c
diff options
context:
space:
mode:
authorAndrey Hristov <andrey@php.net>2009-10-22 14:30:51 +0000
committerAndrey Hristov <andrey@php.net>2009-10-22 14:30:51 +0000
commit8792edcf761cdd4714c83069854b3b076596921c (patch)
tree31a3f9f902cb80387c3b7c6cca75f5853216ebc0 /ext/mysqlnd/mysqlnd_statistics.c
parent4a7912b9a04545d262e6a4e7e11c9a7e01be979c (diff)
downloadphp-git-8792edcf761cdd4714c83069854b3b076596921c.tar.gz
Count number of affected_rows for normal and PS queries
Diffstat (limited to 'ext/mysqlnd/mysqlnd_statistics.c')
-rw-r--r--ext/mysqlnd/mysqlnd_statistics.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mysqlnd/mysqlnd_statistics.c b/ext/mysqlnd/mysqlnd_statistics.c
index 8b8a220e5a..d65c8c1883 100644
--- a/ext/mysqlnd/mysqlnd_statistics.c
+++ b/ext/mysqlnd/mysqlnd_statistics.c
@@ -76,6 +76,9 @@ const MYSQLND_STRING mysqlnd_stats_values_names[STAT_LAST] =
{ STR_W_LEN("rows_fetched_from_client_ps_buffered") },
{ STR_W_LEN("rows_fetched_from_client_ps_unbuffered") },
{ STR_W_LEN("rows_fetched_from_client_ps_cursor") },
+ { STR_W_LEN("rows_affected_normal") },
+ { STR_W_LEN("rows_affected_ps") },
+ { STR_W_LEN("rows_skipped_normal") },
{ STR_W_LEN("rows_skipped_normal") },
{ STR_W_LEN("rows_skipped_ps") },
{ STR_W_LEN("copy_on_write_saved") },