摘要: /*********************************************************************//** Creates a new record lock and inserts it to the lock queue. Does NOT check for deadlocks or lock compatibility! @return ... 阅读全文
posted @ 2015-11-05 18:33 taek 阅读(586) 评论(0) 推荐(0) 编辑
摘要: /*********************************************************************//**Gets the number of bits in a record lock bitmap.@return number of bits */... 阅读全文
posted @ 2015-11-05 17:19 taek 阅读(267) 评论(0) 推荐(0) 编辑
摘要: 检查锁与锁之间的兼容性 路径:/mysql-5.5.43/storage/innobase/lock/lock0lock.c 实现:见锁的强度比较 row 可理解为 lock 的锁模式 column 可理解为 预加锁的模式 反过来也行 速记:只要包括X字符,跟谁都不兼容 阅读全文
posted @ 2015-11-05 11:25 taek 阅读(717) 评论(0) 推荐(0) 编辑