3 ms·
A transaction executes all commands using the same connection so it would have worked. The semantics are different though where the commands issued between the
by karmakaze 7y ago
A transaction executes all commands using the same connection so it would have worked. The semantics are different though where the commands issued between the lock and unlock aren't atomic if issued on the same connection but not in a tx.