Fix to MXS-166
Added a call to thd->end_statement in parsing_info_done
This commit is contained in:
parent
099fc0ba3c
commit
5f49a62724
@ -1485,7 +1485,8 @@ void parsing_info_done(
|
||||
void* ptr)
|
||||
{
|
||||
parsing_info_t* pi;
|
||||
|
||||
THD* thd;
|
||||
|
||||
if (ptr)
|
||||
{
|
||||
pi = (parsing_info_t *)ptr;
|
||||
@ -1496,6 +1497,8 @@ void parsing_info_done(
|
||||
|
||||
if (mysql->thd != NULL)
|
||||
{
|
||||
thd = (THD*)mysql->thd;
|
||||
thd->end_statement ();
|
||||
(*mysql->methods->free_embedded_thd)(mysql);
|
||||
mysql->thd = NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user