row locking within ACID transaction innodb
Pergunta
I have a financial transaction that looks something like this (pseudo):
begin
select record for update
update record(same record as selected)
insert another record into another table
commit
If I call SELECT ... FOR UPDATE
within the transaction, will the lock be released for the specific rows only when the transaction is committed ?
Nenhuma solução correta
Licenciado em: CC-BY-SA com atribuição
Não afiliado a dba.stackexchange