summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--storage/federated/ha_federated.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/federated/ha_federated.cc b/storage/federated/ha_federated.cc
index f371ecb5bd7..ded0ce88484 100644
--- a/storage/federated/ha_federated.cc
+++ b/storage/federated/ha_federated.cc
@@ -2831,6 +2831,7 @@ error:
my_error(error_code, MYF(0), error_buffer);
}
else
+ if (remote_error_number != -1 /* error already reported */)
{
error_code= remote_error_number;
my_error(error_code, MYF(0), ER(error_code));