diff options
author | unknown <sanja@montyprogram.com> | 2012-02-22 10:38:28 +0200 |
---|---|---|
committer | unknown <sanja@montyprogram.com> | 2012-02-22 10:38:28 +0200 |
commit | c299e027eeddc35e0197ebc70805e0a303a4b135 (patch) | |
tree | fbe47b9e9d1fea8c0183950d63894d1774ad8a6a /sql/handler.cc | |
parent | c9fc9f73170a8eb16ea968a2ea51b298eb5cdcfc (diff) | |
download | mariadb-git-c299e027eeddc35e0197ebc70805e0a303a4b135.tar.gz |
Changed names of statistic variables and counting matches instaed of rejected rows.
Diffstat (limited to 'sql/handler.cc')
-rw-r--r-- | sql/handler.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sql/handler.cc b/sql/handler.cc index 4a8cd77ebc3..04f10586484 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -4569,10 +4569,10 @@ extern "C" enum icp_result handler_index_cond_check(void* h_arg) if (h->end_range && h->compare_key2(h->end_range) > 0) return ICP_OUT_OF_RANGE; - h->increment_statistics(&SSV::ha_pushed_index_cond_checks); + h->increment_statistics(&SSV::ha_icp_attempts); if ((res= h->pushed_idx_cond->val_int()? ICP_MATCH : ICP_NO_MATCH) == - ICP_NO_MATCH) - h->increment_statistics(&SSV::ha_pushed_index_cond_filtered); + ICP_MATCH) + h->increment_statistics(&SSV::ha_icp_match); return res; } |