Comment 11 for bug 1426345

Revision history for this message
Nickolay Ihalainen (ihanick) wrote : Re: mysql 5.6. crashes when dropping and creating view from procedure.

~/src/percona-server-5.6.24-72.2/plugin/query_response_time/plugin.cc line 152

LEX_STRING *name= &thd->lex->prepared_stmt_name;

(gdb) p thd->lex->prepared_stmt_name
$11 = {str = 0x0, length = 0}

But statement name is stored inside private variable:

(gdb) p ((sp_lex_instr *)thd->stmt_arena).m_lex.prepared_stmt_name
$17 = {str = 0x7f167c0626e0 "stmt", length = 4}