Following up to my previous blog on graphing statement execution in performance_schema, Sunny Bains on the InnoDB team pointed out that in looking at the INSERT graph, he didn’t think I had atomic operations enabled within my build.
Particularly here (from trunk):
225 /******************************************************************//**
226 Increments lock_word the specified amount and returns new value.
227 @return lock->lock_word after increment */
228 UNIV_INLINE
229 lint
230 rw_lock_lock_word_incr(
231 /*===================*/
232 rw_lock_t* lock, /*!< in/out: rw-lock */
233 ulint amount) /*!< in: amount of increment */
234 {
235 #ifdef …[Read more]