mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
5.5 merge
This commit is contained in:
@ -83,13 +83,16 @@ int select_union::send_data(List<Item> &values)
|
||||
*/
|
||||
return -1;
|
||||
}
|
||||
bool is_duplicate;
|
||||
/* create_internal_tmp_table_from_heap will generate error if needed */
|
||||
if (table->file->is_fatal_error(write_err, HA_CHECK_DUP) &&
|
||||
create_internal_tmp_table_from_heap(thd, table,
|
||||
tmp_table_param.start_recinfo,
|
||||
&tmp_table_param.recinfo,
|
||||
write_err, 1))
|
||||
write_err, 1, &is_duplicate))
|
||||
return 1;
|
||||
if (is_duplicate)
|
||||
return -1;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user