摘要: select for update 是为了在查询时,避免其他用户以该表进行插入,修改或删除等操作,造成表的不一致性.举几个例子:select * from t for update 会等待行锁释放之后,返回查询结果。select * from t for update nowait 不等待行锁释放,... 阅读全文
posted @ 2015-07-06 09:29 细雨宝贝儿 阅读(7923) 评论(0) 推荐(0)