Commit 85af6ba9 authored by unknown's avatar unknown

fix pushbuild failures


sql/ha_federated.cc:
  remote_error_number is set to -1 when an error was already reported
  with my_error(). ER(-1) will also cause a crash on 64bit arch and only
  worked on 32bit arch by luck
parent b42247bc
......@@ -2585,6 +2585,7 @@ int ha_federated::info(uint flag)
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));
......
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