說說mysql的鎖

       mysql提供了兩種鎖,一種使用select for update,一種mysql函數get_lock(str,timeout)。下面是我對其使用和一些膚淺的領悟:        首先是select for update,特別說明,mysql現在依舊不支持 select for update no wait。。。       測試環境如下: =====================
相關文章
相關標籤/搜索