mirror of
https://github.com/MariaDB/server.git
synced 2025-01-20 05:52:27 +01:00
[t:3048], fix 5.5 compilation issue
git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@25759 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
7450374e5c
commit
97aed40d06
1 changed files with 1 additions and 2 deletions
|
@ -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) {
|
||||
TOKUDB_TRACE("%s lock_type=%d cmd=%d\n", __FUNCTION__, lock_type, thd_sql_command(thd));
|
||||
}
|
||||
if (lock_type == TL_WRITE_ALLOW_READ &&
|
||||
get_create_index_online(thd) &&
|
||||
if (get_create_index_online(thd) &&
|
||||
thd_sql_command(thd)== SQLCOM_CREATE_INDEX
|
||||
)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue