Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
6bb3949e
Commit
6bb3949e
authored
Oct 26, 2020
by
Etienne Guesnet
Committed by
Daniel Black
Dec 16, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Contain AIX perror
parent
2ce48f06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
extra/perror.c
extra/perror.c
+13
-7
No files found.
extra/perror.c
View file @
6bb3949e
...
@@ -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
)))
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment