summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-11-28 02:36:31 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-11-28 02:36:31 +0300
commitd5fbfb9a93704ebe4b1df37f74850a7464140991 (patch)
treebdb7b297fd87a9c55d294f7da7271fcc77245bd3 /sql/sql_select.h
parent461dbd80d2ea96034f330dd238282d2167ed2c4d (diff)
downloadmariadb-git-d5fbfb9a93704ebe4b1df37f74850a7464140991.tar.gz
EXPLAIN FORMAT=JSON: Add support for single-table UPDATE/DELETE.
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h20
1 files changed, 4 insertions, 16 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index ac1ea05a498..9463005b2ba 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -1832,8 +1832,10 @@ inline bool optimizer_flag(THD *thd, uint flag)
return (thd->variables.optimizer_switch & flag);
}
+/*
int print_fake_select_lex_join(select_result_sink *result, bool on_the_fly,
SELECT_LEX *select_lex, uint8 select_options);
+*/
uint get_index_for_order(ORDER *order, TABLE *table, SQL_SELECT *select,
ha_rows limit, ha_rows *scanned_limit,
@@ -1861,22 +1863,8 @@ int print_explain_message_line(select_result_sink *result,
ha_rows *rows,
const char *message);
void explain_append_mrr_info(QUICK_RANGE_SELECT *quick, String *res);
-int print_explain_row(select_result_sink *result,
- uint8 options, bool is_analyze,
- uint select_number,
- const char *select_type,
- const char *table_name,
- const char *partitions,
- enum join_type jtype,
- const char *possible_keys,
- const char *index,
- const char *key_len,
- const char *ref,
- ha_rows *rows,
- ha_rows *r_rows,
- double r_filtered,
- const char *extra);
-void make_possible_keys_line(TABLE *table, key_map possible_keys, String *line);
+int append_possible_keys(MEM_ROOT *alloc, String_list &list, TABLE *table,
+ key_map possible_keys);
/****************************************************************************
Temporary table support for SQL Runtime