summaryrefslogtreecommitdiff
path: root/myisam/myisamchk.c
diff options
context:
space:
mode:
authorunknown <serg@serg.mysql.com>2003-01-28 17:42:08 +0100
committerunknown <serg@serg.mysql.com>2003-01-28 17:42:08 +0100
commit88c4961fe5eea6e91759babae1b94e211524d964 (patch)
tree37e31feff36633416e5c16cb0499afefcd9336c4 /myisam/myisamchk.c
parented77c6a9ce6609f64bafd83a5a17ea65e3a56cfb (diff)
downloadmariadb-git-88c4961fe5eea6e91759babae1b94e211524d964.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 'myisam/myisamchk.c')
-rw-r--r--myisam/myisamchk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/myisamchk.c b/myisam/myisamchk.c
index f5bae72396a..6c541a444b7 100644
--- a/myisam/myisamchk.c
+++ b/myisam/myisamchk.c
@@ -735,7 +735,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
case HA_ERR_CRASHED:
mi_check_print_error(param,"'%s' doesn't have a correct index definition. You need to recreate it before you can do a repair",filename);
break;
- case HA_ERR_WRONG_TABLE_DEF:
+ case HA_ERR_NOT_A_TABLE:
mi_check_print_error(param,"'%s' is not a MyISAM-table",filename);
break;
case HA_ERR_CRASHED_ON_USAGE: