diff options
Diffstat (limited to 'sql/sql_union.cc')
-rw-r--r-- | sql/sql_union.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_union.cc b/sql/sql_union.cc index 1df419d04c3..cf4203bf5b8 100644 --- a/sql/sql_union.cc +++ b/sql/sql_union.cc @@ -77,7 +77,7 @@ bool select_union::send_data(List<Item> &values) return 0; } fill_record(table->field, values, 1); - if (thd->net.report_error || write_record(table,&info)) + if (thd->net.report_error || write_record(thd, table,&info)) { if (thd->net.last_errno == ER_RECORD_FILE_FULL) { |