Commit b7e19f23 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:3048], fix 5.5 compilation issue

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25759 c7de825b-a66e-492c-adef-691d508d4ae1
parent d6c2b6e4
...@@ -5512,8 +5512,7 @@ THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_l ...@@ -5512,8 +5512,7 @@ THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_l
if (tokudb_debug & TOKUDB_DEBUG_LOCK) { if (tokudb_debug & TOKUDB_DEBUG_LOCK) {
TOKUDB_TRACE("%s lock_type=%d cmd=%d\n", __FUNCTION__, lock_type, thd_sql_command(thd)); TOKUDB_TRACE("%s lock_type=%d cmd=%d\n", __FUNCTION__, lock_type, thd_sql_command(thd));
} }
if (lock_type == TL_WRITE_ALLOW_READ && if (get_create_index_online(thd) &&
get_create_index_online(thd) &&
thd_sql_command(thd)== SQLCOM_CREATE_INDEX thd_sql_command(thd)== SQLCOM_CREATE_INDEX
) )
{ {
......
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