diff options
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r-- | sql/sql_handler.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc index 668c5f07839..f40ebfe43ed 100644 --- a/sql/sql_handler.cc +++ b/sql/sql_handler.cc @@ -202,7 +202,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables, it.rewind(); while ((item=it++)) { - if (item->send(packet)) + if (item->send(thd,packet)) { packet->free(); // Free used my_error(ER_OUT_OF_RESOURCES,MYF(0)); |