diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-05-14 11:45:50 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-05-25 09:30:26 +0300 |
commit | 4eda1f03e26eca2af06e20df63fafc4405bc599a (patch) | |
tree | db2a772665cdb5a921cbd7cb0226348f18c64305 /sql/handler.h | |
parent | 76970a5f874154c282eca737f114695d57455c90 (diff) | |
download | mariadb-git-bb-10.10-marko.tar.gz |
Performance test: Disable some counter updatesbb-10.10-marko
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sql/handler.h b/sql/handler.h index 60c6195e68e..29171d391a6 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -3917,15 +3917,9 @@ protected: virtual int close(void)=0; inline void update_rows_read() { - if (likely(!internal_tmp_table)) - rows_read++; - else - rows_tmp_read++; } inline void update_index_statistics() { - index_rows_read[active_index]++; - update_rows_read(); } public: |