这是我的伪代码:
re = [select **result** from table where **condition**=key for update]
if[re satisfies]
{
delete from table where **condition** = key;
}
commit
我想问一下,如果满足条件的行等于"key"已经被删除了,那么被"select for update"锁住的锁是否可以自动解锁,也就是说,如果另一个进程在此时进入并选择相同的"key",它不会被此进程阻塞吗?