From 2e6484f5832757ba2ef6d5416ae79d466b6679f6 Mon Sep 17 00:00:00 2001 From: unknown Date: Thu, 30 Oct 2003 16:26:08 +0000 Subject: [PATCH] Revert behaviour change introduced in WL1280. Fixes tests. sql/handler.cc: Revert behaviour to pass tests --- sql/handler.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sql/handler.cc b/sql/handler.cc index 817aac85876..3a8ea107735 100644 --- a/sql/handler.cc +++ b/sql/handler.cc @@ -137,7 +137,11 @@ enum db_type ha_checktype(enum db_type database_type) break; } /* Use this as default */ +#if 0 return((enum db_type) current_thd->variables.table_type); +#else + return(DB_TYPE_MYISAM); +#endif } /* ha_checktype */