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

[t:2789], fix bug that corrupts data on main line

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@21932 c7de825b-a66e-492c-adef-691d508d4ae1
parent b375b961
......@@ -5298,8 +5298,6 @@ int ha_tokudb::external_lock(THD * thd, int lock_type) {
transaction = trx->sub_sp_level;
}
else {
lock.type = TL_UNLOCK; // Unlocked
pthread_mutex_lock(&share->mutex);
// hate dealing with comparison of signed vs unsigned, so doing this
if (deleted_rows > added_rows && share->rows < (deleted_rows - added_rows)) {
......
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