mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
add EE_BADMEMORY_RELEASE
This commit is contained in:
committed by
Sergey Vojtovich
parent
5e86b2eec8
commit
11aaf5c8d2
@@ -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. */
|
||||
|
||||
|
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user