Commit f6a10340 authored by Bradley C. Kuszmaul's avatar Bradley C. Kuszmaul Committed by Yoni Fogel

Merge r18411 (which increments output_condition_lock_ctr while lock is held.) Refs #2450. [t:2450]

{{{
svn merge -c18411 https://svn.tokutek.com/tokudb/mysql.branches/3.1.0/tokudb/
}}}
.


git-svn-id: file:///svn/toku/tokudb@18644 c7de825b-a66e-492c-adef-691d508d4ae1
parent 55cb4011
......@@ -273,7 +273,7 @@ wait_till_output_already_written_or_output_buffer_available (TOKULOGGER logger,
assert(r==0);
}
*fsynced_lsn = logger->fsynced_lsn;
{ int r = toku_pthread_mutex_unlock(&logger->output_condition_lock); logger->output_condition_lock_ctr++; assert(r==0); }
{ logger->output_condition_lock_ctr++; int r = toku_pthread_mutex_unlock(&logger->output_condition_lock); assert(r==0); }
return result;
}
......
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