Skip to content
Permalink
Browse files
Fix of result code check by Monty's request.
  • Loading branch information
sanja-byelkin committed Nov 13, 2017
1 parent d1b666b commit 0611797
Showing 1 changed file with 2 additions and 1 deletion.
@@ -302,7 +302,8 @@ int select_union_recursive::send_data(List<Item> &values)
{
int rc= select_unit::send_data(values);

if (write_err != HA_ERR_FOUND_DUPP_KEY &&
if (rc == 0 &&
write_err != HA_ERR_FOUND_DUPP_KEY &&
write_err != HA_ERR_FOUND_DUPP_UNIQUE)
{
int err;

0 comments on commit 0611797

Please sign in to comment.