summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authorunknown <acurtis@pcgem.rdg.cyberkinetica.com>2003-10-30 16:26:08 +0000
committerunknown <acurtis@pcgem.rdg.cyberkinetica.com>2003-10-30 16:26:08 +0000
commit2e6484f5832757ba2ef6d5416ae79d466b6679f6 (patch)
tree0a625d61bcd3abd3469e77181a80b26a969ff520 /sql/handler.cc
parentaeade221dc826ab980ea365b5ce49c95d98f854d (diff)
downloadmariadb-git-2e6484f5832757ba2ef6d5416ae79d466b6679f6.tar.gz
Revert behaviour change introduced in WL1280. Fixes tests.
sql/handler.cc: Revert behaviour to pass tests
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc4
1 files changed, 4 insertions, 0 deletions
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 */