diff options
author | unknown <serg@serg.mysql.com> | 2003-01-28 17:42:08 +0100 |
---|---|---|
committer | unknown <serg@serg.mysql.com> | 2003-01-28 17:42:08 +0100 |
commit | 73284c938465e9266ca7456e8b1112e2bbc1d9a5 (patch) | |
tree | 37e31feff36633416e5c16cb0499afefcd9336c4 /include/my_base.h | |
parent | a29d85072d7f6cd45586e0931affd053a1db94bd (diff) | |
download | mariadb-git-73284c938465e9266ca7456e8b1112e2bbc1d9a5.tar.gz |
low-level error messages cleanup
extra/perror.c:
error messages fixups
include/my_base.h:
error codes fixups
myisam/mi_open.c:
correct error reported
myisam/myisamchk.c:
correct error reported
myisammrg/myrg_open.c:
correct error reported
sql/ha_innodb.cc:
correct error reported
sql/ha_isam.cc:
reorder table file extensions to get better error on "cannot open the table"
sql/ha_myisam.cc:
reorder table file extensions to get better error on "cannot open the table"
sql/ha_myisammrg.cc:
correct error reported
sql/handler.cc:
correct error reported
Diffstat (limited to 'include/my_base.h')
-rw-r--r-- | include/my_base.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/my_base.h b/include/my_base.h index feb5259ef08..e1761eac8f9 100644 --- a/include/my_base.h +++ b/include/my_base.h @@ -216,6 +216,7 @@ enum ha_base_keytype { #define HA_ERR_CRASHED 126 /* Indexfile is crashed */ #define HA_ERR_WRONG_IN_RECORD 127 /* Record-file is crashed */ #define HA_ERR_OUT_OF_MEM 128 /* Record-file is crashed */ +#define HA_ERR_NOT_A_TABLE 130 /* not a MYI file - no signature */ #define HA_ERR_WRONG_COMMAND 131 /* Command not supported */ #define HA_ERR_OLD_FILE 132 /* old databasfile */ #define HA_ERR_NO_ACTIVE_RECORD 133 /* No record read in update() */ @@ -228,10 +229,10 @@ enum ha_base_keytype { #define HA_WRONG_CREATE_OPTION 140 /* Wrong create option */ #define HA_ERR_FOUND_DUPP_UNIQUE 141 /* Dupplicate unique on write */ #define HA_ERR_UNKNOWN_CHARSET 142 /* Can't open charset */ -#define HA_ERR_WRONG_TABLE_DEF 143 +#define HA_ERR_WRONG_MRG_TABLE_DEF 143 /* conflicting MyISAM tables in MERGE */ #define HA_ERR_CRASHED_ON_REPAIR 144 /* Last (automatic?) repair failed */ #define HA_ERR_CRASHED_ON_USAGE 145 /* Table must be repaired */ -#define HA_ERR_LOCK_WAIT_TIMEOUT 146 +#define HA_ERR_LOCK_WAIT_TIMEOUT 146 #define HA_ERR_LOCK_TABLE_FULL 147 #define HA_ERR_READ_ONLY_TRANSACTION 148 /* Updates not allowed */ #define HA_ERR_LOCK_DEADLOCK 149 |