diff options
author | serg@serg.mysql.com <> | 2003-01-28 17:42:08 +0100 |
---|---|---|
committer | serg@serg.mysql.com <> | 2003-01-28 17:42:08 +0100 |
commit | 1ced5948f0c4fd4ab57fe97b1d3b6161038c7070 (patch) | |
tree | 37e31feff36633416e5c16cb0499afefcd9336c4 /myisam | |
parent | 9199252c22cc091b24b538e3a0b9fa5a96762a7f (diff) | |
download | mariadb-git-1ced5948f0c4fd4ab57fe97b1d3b6161038c7070.tar.gz |
low-level error messages cleanup
Diffstat (limited to 'myisam')
-rw-r--r-- | myisam/mi_open.c | 2 | ||||
-rw-r--r-- | myisam/myisamchk.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c index 0da5ebabf40..077d8c7da3a 100644 --- a/myisam/mi_open.c +++ b/myisam/mi_open.c @@ -114,7 +114,7 @@ MI_INFO *mi_open(const char *name, int mode, uint open_flags) DBUG_PRINT("error",("Wrong header in %s",name_buff)); DBUG_DUMP("error_dump",(char*) share->state.header.file_version, head_length); - my_errno=HA_ERR_WRONG_TABLE_DEF; + my_errno=HA_ERR_NOT_A_TABLE; goto err; } share->options= mi_uint2korr(share->state.header.options); 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: |