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 /myisammrg | |
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 'myisammrg')
-rw-r--r-- | myisammrg/myrg_open.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/myisammrg/myrg_open.c b/myisammrg/myrg_open.c index f996277d287..7ff00270c68 100644 --- a/myisammrg/myrg_open.c +++ b/myisammrg/myrg_open.c @@ -84,7 +84,7 @@ MYRG_INFO *myrg_open(const char *name, int mode, int handle_locking) last_isam=isam; if (info.reclength && info.reclength != isam->s->base.reclength) { - my_errno=HA_ERR_WRONG_IN_RECORD; + my_errno=HA_ERR_WRONG_MRG_TABLE_DEF; goto err; } info.reclength=isam->s->base.reclength; |