mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
remove HA_ERR_INFO, use ER_ALTER_INFO
This commit is contained in:
@@ -503,8 +503,7 @@ enum ha_base_keytype {
|
||||
#define HA_ERR_FTS_TOO_MANY_WORDS_IN_PHRASE 191 /* Too many words in a phrase */
|
||||
#define HA_ERR_DECRYPTION_FAILED 192 /* Table encrypted but
|
||||
decypt failed */
|
||||
#define HA_ERR_INFO 193 /* Information, not critical */
|
||||
#define HA_ERR_LAST 193 /* Copy of last error nr */
|
||||
#define HA_ERR_LAST 192 /* Copy of last error nr */
|
||||
|
||||
/* Number of different errors */
|
||||
#define HA_ERR_ERRORS (HA_ERR_LAST - HA_ERR_FIRST + 1)
|
||||
|
@@ -95,8 +95,7 @@ static const char *handler_error_messages[]=
|
||||
"Disk full",
|
||||
"Incompatible key or row definition between the MariaDB .frm file and the information in the storage engine. You have to dump and restore the table to fix this",
|
||||
"Too many words in a FTS phrase or proximity search",
|
||||
"Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.",
|
||||
"Information, not an error"
|
||||
"Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match."
|
||||
};
|
||||
|
||||
#endif /* MYSYS_MY_HANDLER_ERRORS_INCLUDED */
|
||||
|
@@ -51,6 +51,7 @@
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
#include "rt_index.h"
|
||||
#include <mysqld_error.h>
|
||||
|
||||
/* Functions defined in this file */
|
||||
|
||||
@@ -4767,7 +4768,7 @@ static int replace_data_file(HA_CHECK *param, MI_INFO *info,
|
||||
{
|
||||
char buff[MY_BACKUP_NAME_EXTRA_LENGTH+1];
|
||||
my_create_backup_name(buff, "", param->backup_time);
|
||||
my_printf_error(HA_ERR_INFO, /* No error, just info */
|
||||
my_printf_error(ER_GET_ERRMSG,
|
||||
"Making backup of data file %s with extension '%s'",
|
||||
MYF(ME_JUST_INFO | ME_NOREFRESH), share->data_file_name,
|
||||
buff);
|
||||
|
Reference in New Issue
Block a user