Commit 6bb3949e authored by Etienne Guesnet's avatar Etienne Guesnet Committed by Daniel Black

Contain AIX perror

parent 2ce48f06
...@@ -332,14 +332,20 @@ int main(int argc,char *argv[]) ...@@ -332,14 +332,20 @@ int main(int argc,char *argv[])
if (msg && if (msg &&
my_strnncoll(&my_charset_latin1, (const uchar*) msg, 13, my_strnncoll(&my_charset_latin1, (const uchar*) msg, 13,
(const uchar*) "Unknown Error", 13) && (const uchar*) "Unknown Error", 13) &&
(!unknown_error || strcmp(msg, unknown_error)) && (!unknown_error || strcmp(msg, unknown_error)))
(!strcmp(msg, unknow_aix)))
{ {
found= 1; #ifdef _AIX
if (verbose) if (!strcmp(msg, unknow_aix))
printf("OS error code %3d: %s\n", code, msg); {
else #endif
puts(msg); found= 1;
if (verbose)
printf("OS error code %3d: %s\n", code, msg);
else
puts(msg);
#ifdef _AIX
}
#endif
} }
if ((msg= get_ha_error_msg(code))) if ((msg= get_ha_error_msg(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