summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
authormonty@donna.mysql.fi <>2001-03-26 13:27:36 +0300
committermonty@donna.mysql.fi <>2001-03-26 13:27:36 +0300
commit44c0545ab9ed408597886810976b2bf63c053aab (patch)
treee9c9fdeab5d0a635045172c211af567c8b6a81b9 /sql/handler.cc
parent2ff0334c231433aed0e14107cf1d6225c000e30b (diff)
downloadmariadb-git-44c0545ab9ed408597886810976b2bf63c053aab.tar.gz
Added test case that crashed Innobase
Diffstat (limited to 'sql/handler.cc')
-rw-r--r--sql/handler.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/handler.cc b/sql/handler.cc
index 1d41b33e90b..600683d9c18 100644
--- a/sql/handler.cc
+++ b/sql/handler.cc
@@ -159,7 +159,10 @@ int ha_init()
if (innobase_init())
return -1;
if (!innobase_skip) // If we couldn't use handler
+ {
opt_using_transactions=1;
+ have_innobase=SHOW_OPTION_DISABLED;
+ }
}
#endif
#ifdef HAVE_GEMINI_DB
@@ -168,7 +171,10 @@ int ha_init()
if (gemini_init())
return -1;
if (!gemini_skip) // If we couldn't use handler
+ {
opt_using_transactions=1;
+ have_gemini=SHOW_OPTION_DISABLED;
+ }
}
#endif
return 0;