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