#225 fix tokudb store lock to fix lock tables crash

This commit is contained in:
Rich Prohaska 2014-06-01 16:57:53 -04:00
parent 083764f033
commit 768b7b41cb

View file

@ -6338,8 +6338,8 @@ THR_LOCK_DATA **ha_tokudb::store_lock(THD * thd, THR_LOCK_DATA ** to, enum thr_l
// hot optimize table
lock_type = TL_READ;
}
lock.type = lock_type;
}
lock.type = lock_type;
}
*to++ = &lock;
if (tokudb_debug & TOKUDB_DEBUG_LOCK)