summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-10-17 22:47:06 +0400
committerSergei Petrunia <psergey@askmonty.org>2014-10-17 22:47:06 +0400
commit47ced6556652beb39cee0f280c3cfb3e39ba74e5 (patch)
treeb36cf35ce013d9e92e9614c878c39642cb62e2aa /sql/sql_class.h
parentd3bdc142b404426c279dacc1d64684b85c120b38 (diff)
downloadmariadb-git-47ced6556652beb39cee0f280c3cfb3e39ba74e5.tar.gz
MDEV-6388: ANALYZE $stmt output in the slow query log
Make log_slow_verbosity=explain actually print ANALYZE (that is, EXPLAIN otuput with two extra columns).
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 4c83de2767b..b1881db49e9 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -3083,8 +3083,10 @@ public:
void add_changed_table(TABLE *table);
void add_changed_table(const char *key, long key_length);
CHANGED_TABLE_LIST * changed_table_dup(const char *key, long key_length);
- int send_explain_fields(select_result *result);
- void make_explain_field_list(List<Item> &field_list);
+ int send_explain_fields(select_result *result, uint8 explain_flags,
+ bool is_analyze);
+ void make_explain_field_list(List<Item> &field_list, uint8 explain_flags,
+ bool is_analyze);
/**
Clear the current error, if any.
We do not clear is_fatal_error or is_fatal_sub_stmt_error since we