diff options
author | Rich Prohaska <prohaska@tokutek.com> | 2013-04-17 00:02:18 -0400 |
---|---|---|
committer | Yoni Fogel <yoni@tokutek.com> | 2013-04-17 00:02:18 -0400 |
commit | 5a1ce0facdc56cc526104795eaf98e39b46372a0 (patch) | |
tree | 8665fee1bedb5a04b85f5a986a1dc78cf62d7336 /storage/tokudb/hatoku_hton.cc | |
parent | e3ff625156e04fe26fd5e8c30524e9735607fc4f (diff) | |
download | mariadb-git-5a1ce0facdc56cc526104795eaf98e39b46372a0.tar.gz |
refs #5590 remove the old 5.5 add/drop index code
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@53742 c7de825b-a66e-492c-adef-691d508d4ae1
Diffstat (limited to 'storage/tokudb/hatoku_hton.cc')
-rw-r--r-- | storage/tokudb/hatoku_hton.cc | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/storage/tokudb/hatoku_hton.cc b/storage/tokudb/hatoku_hton.cc index 929acbb3fdb..596bb9200bb 100644 --- a/storage/tokudb/hatoku_hton.cc +++ b/storage/tokudb/hatoku_hton.cc @@ -228,9 +228,6 @@ static int tokudb_commit_by_xid(handlerton* hton, XID* xid); static int tokudb_rollback_by_xid(handlerton* hton, XID* xid);
#endif
-#if defined(HA_INPLACE_ADD_INDEX_NO_READ_WRITE)
-static uint tokudb_alter_table_flags(uint flags);
-#endif
static int tokudb_rollback_to_savepoint(handlerton * hton, THD * thd, void *savepoint);
static int tokudb_savepoint(handlerton * hton, THD * thd, void *savepoint);
static int tokudb_release_savepoint(handlerton * hton, THD * thd, void *savepoint);
@@ -389,9 +386,6 @@ static int tokudb_init_func(void *p) { tokudb_hton->panic = tokudb_end;
tokudb_hton->flush_logs = tokudb_flush_logs;
tokudb_hton->show_status = tokudb_show_status;
-#if defined(HA_INPLACE_ADD_INDEX_NO_READ_WRITE)
- tokudb_hton->alter_table_flags = tokudb_alter_table_flags;
-#endif
if (!tokudb_home)
tokudb_home = mysql_real_data_home;
DBUG_PRINT("info", ("tokudb_home: %s", tokudb_home));
@@ -1773,18 +1767,6 @@ static void tokudb_cleanup_log_files(void) { DBUG_VOID_RETURN;
}
-#if defined(HA_INPLACE_ADD_INDEX_NO_READ_WRITE)
-static uint tokudb_alter_table_flags(uint flags) {
- return HA_INPLACE_ADD_INDEX_NO_READ_WRITE
- | HA_INPLACE_ADD_INDEX_NO_WRITE
- | HA_INPLACE_DROP_INDEX_NO_READ_WRITE
- | HA_INPLACE_ADD_UNIQUE_INDEX_NO_READ_WRITE
- | HA_INPLACE_ADD_UNIQUE_INDEX_NO_WRITE
- | HA_INPLACE_DROP_UNIQUE_INDEX_NO_READ_WRITE;
-}
-#endif
-
-
// options flags
// PLUGIN_VAR_THDLOCAL Variable is per-connection
// PLUGIN_VAR_READONLY Server variable is read only
|