diff options
author | Sergey Petrunya <psergey@askmonty.org> | 2012-05-10 15:13:57 +0400 |
---|---|---|
committer | Sergey Petrunya <psergey@askmonty.org> | 2012-05-10 15:13:57 +0400 |
commit | 6fae4447f0873c159d94d1a3d8deafbd224d8100 (patch) | |
tree | 4b16f2510acee5fca6499363adf429bd79d6e51a /sql/sql_class.cc | |
parent | 5116bed06c1a1641d54d8de8bc8770ad65ab165d (diff) | |
download | mariadb-git-6fae4447f0873c159d94d1a3d8deafbd224d8100.tar.gz |
# MDEV-239: Assertion `field_types == 0 ... ' failed in Protocol_text::store...
- Make all functions that produce parts of EXPLAIN output take
explain_flags as parameter, instead of looking into thd->lex->describe
Diffstat (limited to 'sql/sql_class.cc')
-rw-r--r-- | sql/sql_class.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_class.cc b/sql/sql_class.cc index 4e9a0507bba..89d80dc1ec2 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -3039,7 +3039,7 @@ void Show_explain_request::get_explain_data(void *arg) target_thd->query_length(), &my_charset_bin); - if (target_thd->lex->unit.print_explain(req->explain_buf)) + if (target_thd->lex->unit.print_explain(req->explain_buf, 0 /* explain flags */)) req->failed_to_produce= TRUE; target_thd->restore_active_arena((Query_arena*)req->request_thd, |