We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce48f0 commit 6bb3949Copy full SHA for 6bb3949
extra/perror.c
@@ -332,14 +332,20 @@ int main(int argc,char *argv[])
332
if (msg &&
333
my_strnncoll(&my_charset_latin1, (const uchar*) msg, 13,
334
(const uchar*) "Unknown Error", 13) &&
335
- (!unknown_error || strcmp(msg, unknown_error)) &&
336
- (!strcmp(msg, unknow_aix)))
+ (!unknown_error || strcmp(msg, unknown_error)))
337
{
338
- found= 1;
339
- if (verbose)
340
- printf("OS error code %3d: %s\n", code, msg);
341
- else
342
- puts(msg);
+#ifdef _AIX
+ if (!strcmp(msg, unknow_aix))
+ {
+#endif
+ found= 1;
+ if (verbose)
343
+ printf("OS error code %3d: %s\n", code, msg);
344
+ else
345
+ puts(msg);
346
347
+ }
348
349
}
350
if ((msg= get_ha_error_msg(code)))
351
0 commit comments