说说mysql的锁

       mysql提供了两种锁,一种使用select for update,一种mysql函数get_lock(str,timeout)。下面是我对其使用和一些肤浅的领悟:        首先是select for update,特别说明,mysql现在依旧不支持 select for update no wait。。。       测试环境如下: =====================
相关文章
相关标签/搜索