summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2009-11-10 09:35:39 +0100
committerunknown <knielsen@knielsen-hq.org>2009-11-10 09:35:39 +0100
commitad65a0692c170b95b9a646dd32ed115b5167b275 (patch)
tree64aeeb3a2e5ba24607bb12ffd637794c2c2a173e
parentf894bccb6799759a6e131b6b6bf0948991c7ad2a (diff)
downloadmariadb-git-ad65a0692c170b95b9a646dd32ed115b5167b275.tar.gz
Apply Monty's fix for warning about wrong FEDERATED typecode.
-rw-r--r--storage/federatedx/ha_federatedx.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/federatedx/ha_federatedx.cc b/storage/federatedx/ha_federatedx.cc
index 4d4b25da058..5f67a364714 100644
--- a/storage/federatedx/ha_federatedx.cc
+++ b/storage/federatedx/ha_federatedx.cc
@@ -390,8 +390,8 @@ int federatedx_db_init(void *p)
DBUG_ENTER("federatedx_db_init");
handlerton *federatedx_hton= (handlerton *)p;
federatedx_hton->state= SHOW_OPTION_YES;
- /* This is no longer needed for plugin storage engines */
- federatedx_hton->db_type= DB_TYPE_DEFAULT;
+ /* Needed to work with old .frm files */
+ federatedx_hton->db_type= DB_TYPE_FEDERATED_DB;
federatedx_hton->savepoint_offset= sizeof(ulong);
federatedx_hton->close_connection= ha_federatedx::disconnect;
federatedx_hton->savepoint_set= ha_federatedx::savepoint_set;