间歇锁危害 - 图1

    举例:
    update table set id > 10 and id < 20;
    但是id 11 是不存在的 并且它会把11也锁了, 另可杀错不可放过, 当别人操作id 11的时候会阻塞