From 73284c938465e9266ca7456e8b1112e2bbc1d9a5 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 28 Jan 2003 17:42:08 +0100 Subject: 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 --- sql/handler.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sql/handler.cc') diff --git a/sql/handler.cc b/sql/handler.cc index d4fd45613d4..fb33888e91e 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -679,7 +679,7 @@ void handler::print_error(int error, myf errflag) case HA_ERR_END_OF_FILE: textno=ER_KEY_NOT_FOUND; break; - case HA_ERR_WRONG_TABLE_DEF: + case HA_ERR_WRONG_MRG_TABLE_DEF: textno=ER_WRONG_MRG_TABLE; break; case HA_ERR_FOUND_DUPP_KEY: -- cgit v1.2.1