summaryrefslogtreecommitdiff
path: root/myisam/mi_open.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
commit73284c938465e9266ca7456e8b1112e2bbc1d9a5 (patch)
tree37e31feff36633416e5c16cb0499afefcd9336c4 /myisam/mi_open.c
parenta29d85072d7f6cd45586e0931affd053a1db94bd (diff)
downloadmariadb-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 'myisam/mi_open.c')
-rw-r--r--myisam/mi_open.c2
1 files changed, 1 insertions, 1 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);