diff options
author | Sergei Golubchik <sergii@pisem.net> | 2012-02-17 13:27:41 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2012-02-17 13:27:41 +0100 |
commit | bbb3527635627a404ab4a16be7598339e8e41139 (patch) | |
tree | d86404d94d3bd4b04cc2514e1e007ab7b4d918d8 /sql/handler.h | |
parent | 2d19b077d5816dcd3a8c84bb682cf2d83fa055f5 (diff) | |
download | mariadb-git-bbb3527635627a404ab4a16be7598339e8e41139.tar.gz |
Remove engine-specific (but identical) icp callbacks. create one reusable
common icp callback in the handler.cc.
It can also increment status counters, without making the engine
dependent on the exact THD layout (that is different in embedded).
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sql/handler.h b/sql/handler.h index 87ac1ab9ef3..28d8a96a895 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -1553,6 +1553,8 @@ public: {} }; +extern "C" enum icp_result handler_index_cond_check(void* h_arg); + uint calculate_key_len(TABLE *, uint, const uchar *, key_part_map); /* bitmap with first N+1 bits set @@ -2632,6 +2634,8 @@ public: { return ht; } inline int ha_write_tmp_row(uchar *buf); inline int ha_update_tmp_row(const uchar * old_data, uchar * new_data); + + friend enum icp_result handler_index_cond_check(void* h_arg); }; #include "multi_range_read.h" |