diff options
author | mskold@mysql.com <> | 2005-02-11 22:33:52 +0100 |
---|---|---|
committer | mskold@mysql.com <> | 2005-02-11 22:33:52 +0100 |
commit | 3f1e1f0f6bc31921e5953ac808d2a79aaebcbb76 (patch) | |
tree | 990620ea9ab9aa89c90238a4ff13ef52fb547843 /sql/handler.h | |
parent | 66343612d148eded29c0a20e6272b52cd9cc6d74 (diff) | |
download | mariadb-git-3f1e1f0f6bc31921e5953ac808d2a79aaebcbb76.tar.gz |
Merge
Diffstat (limited to 'sql/handler.h')
-rw-r--r-- | sql/handler.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sql/handler.h b/sql/handler.h index 8ad49456bf6..e9bc6652443 100644 --- a/sql/handler.h +++ b/sql/handler.h @@ -268,6 +268,9 @@ typedef struct st_table TABLE; struct st_foreign_key_info; typedef struct st_foreign_key_info FOREIGN_KEY_INFO; +/* Forward declaration for Condition Pushdown to Handler (CPDH) */ +typedef struct Item COND; + typedef struct st_ha_check_opt { ulong sort_buffer_size; @@ -601,7 +604,6 @@ public: *engine_callback= 0; return 1; } - /* RETURN true Primary key (if there is one) is clustered key covering all fields @@ -613,6 +615,12 @@ public: { return memcmp(ref1, ref2, ref_length); } + + /* + Condition pushdown to storage engines + */ + virtual const COND *cond_push(const COND *cond) { return cond; }; + virtual void cond_pop() { return; }; }; /* Some extern variables used with handlers */ |