Commit 773ee80f authored by Sergei Golubchik's avatar Sergei Golubchik

federatedx: ha_federatedx::get_txn -> static

parent 4d0b3395
SET(FEDERATEDX_PLUGIN_STATIC "federatedx")
SET(FEDERATEDX_PLUGIN_DYNAMIC "ha_federatedx")
SET(FEDERATEDX_SOURCES ha_federatedx.cc federatedx_txn.cc federatedx_io.cc federatedx_io_null.cc federatedx_io_mysql.cc) SET(FEDERATEDX_SOURCES ha_federatedx.cc federatedx_txn.cc federatedx_io.cc federatedx_io_null.cc federatedx_io_mysql.cc)
MYSQL_ADD_PLUGIN(federatedx ${FEDERATEDX_SOURCES} STORAGE_ENGINE) MYSQL_ADD_PLUGIN(federatedx ${FEDERATEDX_SOURCES} STORAGE_ENGINE)
...@@ -258,7 +258,6 @@ class federatedx_txn ...@@ -258,7 +258,6 @@ class federatedx_txn
void stmt_autocommit(); void stmt_autocommit();
}; };
/* /*
Class definition for the storage engine Class definition for the storage engine
*/ */
...@@ -296,8 +295,7 @@ class ha_federatedx final : public handler ...@@ -296,8 +295,7 @@ class ha_federatedx final : public handler
bool records_in_range, bool eq_range); bool records_in_range, bool eq_range);
int stash_remote_error(); int stash_remote_error();
federatedx_txn *get_txn(THD *thd, bool no_create= FALSE); static federatedx_txn *get_txn(THD *thd, bool no_create= FALSE);
static int disconnect(handlerton *hton, MYSQL_THD thd); static int disconnect(handlerton *hton, MYSQL_THD thd);
static int savepoint_set(handlerton *hton, MYSQL_THD thd, void *sv); static int savepoint_set(handlerton *hton, MYSQL_THD thd, void *sv);
static int savepoint_rollback(handlerton *hton, MYSQL_THD thd, void *sv); static int savepoint_rollback(handlerton *hton, MYSQL_THD thd, void *sv);
......
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