summaryrefslogtreecommitdiff
path: root/sql/sql_join_cache.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2013-10-07 13:20:22 +0400
committerSergey Petrunya <psergey@askmonty.org>2013-10-07 13:20:22 +0400
commit8346a498eaa1b1c3d8d709f78ca6a913b6c9bc5e (patch)
tree6a36d1cb2fc381dc27cdb1f5441d67efee67472c /sql/sql_join_cache.cc
parent062b7bfa39ae418f1da85bef3d8968fc9d53569e (diff)
downloadmariadb-git-8346a498eaa1b1c3d8d709f78ca6a913b6c9bc5e.tar.gz
MDEV-3798: EXPLAIN UPDATE/DELETE
- Run probes like MYSQL_INSERT_SELECT_START or MYSQL_MULTI_DELETE_START for EXPLAIN, too. We should run them, because 1. EXPLAIN SELECT does it, and 2. MySQL also does it.
Diffstat (limited to 'sql/sql_join_cache.cc')
-rw-r--r--sql/sql_join_cache.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sql/sql_join_cache.cc b/sql/sql_join_cache.cc
index 8b505b75272..a66ab42c855 100644
--- a/sql/sql_join_cache.cc
+++ b/sql/sql_join_cache.cc
@@ -2553,16 +2553,16 @@ finish:
/*
- Add a comment on the join algorithm employed by the join cache
+ Save data on the join algorithm employed by the join cache
SYNOPSIS
- print_explain_comment()
+ save_explain_data()
str string to add the comment on the employed join algorithm to
DESCRIPTION
- This function adds info on the type of the used join buffer (flat or
+ This function puts info about the type of the used join buffer (flat or
incremental) and on the type of the the employed join algorithm (BNL,
- BNLH, BKA or BKAH) to the the end of the sring str.
+ BNLH, BKA or BKAH) to the data structure
RETURN VALUE
none