Commit de8380fd authored by unknown's avatar unknown

Apply Monty's fix for warning about wrong FEDERATED typecode.

parent 275c0a7f
...@@ -390,8 +390,8 @@ int federatedx_db_init(void *p) ...@@ -390,8 +390,8 @@ int federatedx_db_init(void *p)
DBUG_ENTER("federatedx_db_init"); DBUG_ENTER("federatedx_db_init");
handlerton *federatedx_hton= (handlerton *)p; handlerton *federatedx_hton= (handlerton *)p;
federatedx_hton->state= SHOW_OPTION_YES; federatedx_hton->state= SHOW_OPTION_YES;
/* This is no longer needed for plugin storage engines */ /* Needed to work with old .frm files */
federatedx_hton->db_type= DB_TYPE_DEFAULT; federatedx_hton->db_type= DB_TYPE_FEDERATED_DB;
federatedx_hton->savepoint_offset= sizeof(ulong); federatedx_hton->savepoint_offset= sizeof(ulong);
federatedx_hton->close_connection= ha_federatedx::disconnect; federatedx_hton->close_connection= ha_federatedx::disconnect;
federatedx_hton->savepoint_set= ha_federatedx::savepoint_set; federatedx_hton->savepoint_set= ha_federatedx::savepoint_set;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment