summaryrefslogtreecommitdiff
path: root/sql/sql_join_cache.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-06-27 17:56:49 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-06-27 17:56:49 +0400
commitbefacafd73d4892f2ad84991ad7c2d4626e45c47 (patch)
treeb83bb27634fa3f82471bcdeb5fc134f2262bc00a /sql/sql_join_cache.h
parent5422098b758dfec801b32c833b8840ec96e00081 (diff)
downloadmariadb-git-befacafd73d4892f2ad84991ad7c2d4626e45c47.tar.gz
[SHOW] EXPLAIN UPDATE/DELETE, code re-structuring
- Let Query Plan Footprint store join buffer type in binary form, not string. - Same for LooseScan type.
Diffstat (limited to 'sql/sql_join_cache.h')
-rw-r--r--sql/sql_join_cache.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_join_cache.h b/sql/sql_join_cache.h
index 6953f6881ee..75589c3395f 100644
--- a/sql/sql_join_cache.h
+++ b/sql/sql_join_cache.h
@@ -63,6 +63,7 @@ typedef struct st_cache_field {
class JOIN_TAB_SCAN;
+struct st_qpf_bka_type;
/*
JOIN_CACHE is the base class to support the implementations of
@@ -657,7 +658,7 @@ public:
enum_nested_loop_state join_records(bool skip_last);
/* Add a comment on the join algorithm employed by the join cache */
- virtual void print_explain_comment(String *str);
+ virtual void save_qpf(struct st_qpf_bka_type *qpf);
THD *thd();
@@ -1335,7 +1336,7 @@ public:
/* Check index condition of the joined table for a record from BKA cache */
bool skip_index_tuple(range_id_t range_info);
- void print_explain_comment(String *str);
+ void save_qpf(struct st_qpf_bka_type *qpf);
};
@@ -1426,5 +1427,5 @@ public:
/* Check index condition of the joined table for a record from BKAH cache */
bool skip_index_tuple(range_id_t range_info);
- void print_explain_comment(String *str);
+ void save_qpf(struct st_qpf_bka_type *qpf);
};