summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r--sql/sql_parse.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc
index 4ef2a4c5d46..1d6e0497b63 100644
--- a/sql/sql_parse.cc
+++ b/sql/sql_parse.cc
@@ -2331,7 +2331,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
size_t next_length_length= packet_start - packet;
unsigned char *readbuff= net->buff;
- if (net_allocate_new_packet(net, thd, MYF(0)))
+ if (net_allocate_new_packet(net, thd, MYF(MY_THREAD_SPECIFIC)))
break;
PSI_statement_locker *save_locker= thd->m_statement_psi;