mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
LP BUG#615752 fix. Expression cache added to EXPLAIN EXTENDED output.
mysql-test/r/compare.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/explain.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/group_by.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect3.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect3_jcl6.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect4.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect_mat.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect_no_mat.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect_no_opts.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect_no_semijoin.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect_sj.result: Expression cache added to EXPLAIN EXTENDED output. mysql-test/r/subselect_sj_jcl6.result: Expression cache added to EXPLAIN EXTENDED output. sql/item.h: Expression cache added to EXPLAIN EXTENDED output.
This commit is contained in:
parent
f5ecf70819
commit
97199ad56d
14 changed files with 178 additions and 176 deletions
|
|
@ -2630,8 +2630,10 @@ public:
|
|||
|
||||
virtual void print(String *str, enum_query_type query_type)
|
||||
{
|
||||
/* TODO: maybe print something for EXPLAIN EXTENDED */
|
||||
return orig_item->print(str, query_type);
|
||||
str->append(func_name());
|
||||
str->append('(');
|
||||
orig_item->print(str, query_type);
|
||||
str->append(')');
|
||||
}
|
||||
virtual const char *full_name() const { return orig_item->full_name(); }
|
||||
virtual void make_field(Send_field *field) { orig_item->make_field(field); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue