mirror of
https://github.com/aljazceru/turso.git
synced 2025-12-18 09:04:19 +01:00
not always write
This commit is contained in:
@@ -2181,7 +2181,7 @@ pub fn op_transaction(
|
||||
let actual_tx_mode = if mv_tx_mode == TransactionMode::Concurrent {
|
||||
TransactionMode::Concurrent
|
||||
} else {
|
||||
TransactionMode::Write
|
||||
*tx_mode
|
||||
};
|
||||
if matches!(new_transaction_state, TransactionState::Write { .. })
|
||||
&& matches!(actual_tx_mode, TransactionMode::Write)
|
||||
|
||||
Reference in New Issue
Block a user