1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

MDEV-406: ANALYZE $stmt: more testcases, fix memory leak

This commit is contained in:
Sergei Petrunia
2014-06-25 18:35:30 +04:00
parent 424d5de89d
commit 3da81ab97f
3 changed files with 43 additions and 0 deletions

View File

@ -5283,6 +5283,7 @@ static bool execute_sqlcom_select(THD *thd, TABLE_LIST *all_tables)
result= save_result;
if (!result && !(result= new select_send()))
return 1;
delete thd->protocol;
thd->protocol= save_protocol;
thd->lex->explain->send_explain(thd);