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
11aaf5c8
Commit
11aaf5c8
authored
Apr 06, 2020
by
Daniel Black
Committed by
Sergey Vojtovich
Apr 08, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add EE_BADMEMORY_RELEASE
parent
5e86b2ee
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
include/mysys_err.h
include/mysys_err.h
+2
-1
mysys/errors.c
mysys/errors.c
+3
-1
No files found.
include/mysys_err.h
View file @
11aaf5c8
...
...
@@ -69,7 +69,8 @@ extern const char *globerrs[]; /* my_error_messages is here */
#define EE_CANT_SEEK 33
#define EE_CANT_CHMOD 34
#define EE_CANT_COPY_OWNERSHIP 35
#define EE_ERROR_LAST 35
/* Copy last error nr */
#define EE_BADMEMORYRELEASE 36
#define EE_ERROR_LAST 36
/* Copy last error nr */
/* Add error numbers before EE_ERROR_LAST and change it accordingly. */
...
...
mysys/errors.c
View file @
11aaf5c8
...
...
@@ -55,7 +55,8 @@ const char *globerrs[GLOBERRS]=
"Can't change permissions of the file '%s' (Errcode: %M)"
,
"Can't seek in file '%s' (Errcode: %M)"
,
"Can't change mode for file '%s' to 0x%lx (Errcode: %M)"
,
"Warning: Can't copy ownership for file '%s' (Errcode: %M)"
"Warning: Can't copy ownership for file '%s' (Errcode: %M)"
,
"Failed to release memory pointer %p, %zu bytes (Errcode: %M)"
};
void
init_glob_errs
(
void
)
...
...
@@ -101,6 +102,7 @@ void init_glob_errs()
EE
(
EE_CANT_SEEK
)
=
"Can't seek in file '%s' (Errcode: %M)"
;
EE
(
EE_CANT_CHMOD
)
=
"Can't change mode for file '%s' to 0x%lx (Errcode: %M)"
;
EE
(
EE_CANT_COPY_OWNERSHIP
)
=
"Warning: Can't copy ownership for file '%s' (Errcode: %M)"
;
EE
(
EE_BADMEMORYRELEASE
)
=
"Failed to release memory pointer %p, %zu bytes (Errcode: %M)"
;
}
#endif
...
...
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