Commit 06117977 authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

Fix of result code check by Monty's request.

parent d1b666b5
...@@ -302,7 +302,8 @@ int select_union_recursive::send_data(List<Item> &values) ...@@ -302,7 +302,8 @@ int select_union_recursive::send_data(List<Item> &values)
{ {
int rc= select_unit::send_data(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) write_err != HA_ERR_FOUND_DUPP_UNIQUE)
{ {
int err; int err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment