summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
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 6ea319a72e4..2e979a948e6 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -233,7 +233,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
goto err;
}
}
- my_net_write(&thd->net, (char*)packet->ptr(), packet->length());
+ SEND_ROW(thd, list.elements, (char*)packet->ptr(), packet->length());
}
}
num_rows++;