summaryrefslogtreecommitdiff
path: root/sql/handler.cc
diff options
context:
space:
mode:
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;