Commit 54934d87 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

#4695 put stubbed add_index back for 5.1 refs[t:4695]

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41678 c7de825b-a66e-492c-adef-691d508d4ae1
parent a5201dcd
......@@ -7768,6 +7768,16 @@ int ha_tokudb::final_add_index(handler_add_index *add_arg, bool commit) {
TOKUDB_DBUG_RETURN(error);
}
#else
volatile int ha_tokudb_add_index_wait = 0;
int ha_tokudb::add_index(TABLE *table_arg, KEY *key_info, uint num_of_keys) {
TOKUDB_DBUG_ENTER("ha_tokudb::add_index");
while (ha_tokudb_add_index_wait) sleep(1); // debug
int error = HA_ERR_WRONG_COMMAND;
TOKUDB_DBUG_RETURN(error);
}
#endif
volatile int ha_tokudb_drop_indexes_wait = 0; // debug
......
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