summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authormonty@hundin.mysql.fi <>2001-10-17 19:39:39 +0300
committermonty@hundin.mysql.fi <>2001-10-17 19:39:39 +0300
commit0bfec316ce62bf5f46b55888a0a9d593171c4eb5 (patch)
treea99a119a594cef911c36b9e84ddb7975f5747e05 /sql/sql_handler.cc
parentfaa51dc2854d2a2e0fe09cad44702f57d26109ae (diff)
downloadmariadb-git-0bfec316ce62bf5f46b55888a0a9d593171c4eb5.tar.gz
Don't do signal() on windows (Causes instability problems)
Safer, a bit faster filesort. Code changes to avoid calls to current_thd() (faster code). Removed all compiler warnings from readline.
Diffstat (limited to 'sql/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
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));