Commit 96783a03 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4472], commit fix for handlerton piece

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@39730 c7de825b-a66e-492c-adef-691d508d4ae1
parent d047d629
...@@ -6031,6 +6031,7 @@ THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_l ...@@ -6031,6 +6031,7 @@ THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_l
thd_sql_command(thd)== SQLCOM_ALTER_TABLE || thd_sql_command(thd)== SQLCOM_ALTER_TABLE ||
thd_sql_command(thd)== SQLCOM_DROP_INDEX) { thd_sql_command(thd)== SQLCOM_DROP_INDEX) {
lock_type = TL_WRITE; lock_type = TL_WRITE;
lock.type = lock_type;
} }
else { else {
// If we are not doing a LOCK TABLE, then allow multiple writers // If we are not doing a LOCK TABLE, then allow multiple writers
......
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