mvcc: disallow BEGIN after BEGIN CONCURRENT

This commit is contained in:
Jussi Saurio
2025-09-25 09:21:35 +03:00
parent 1ff2e07404
commit d4bcf2c15a

View File

@@ -2451,6 +2451,11 @@ pub fn op_auto_commit(
"cannot commit - no transaction is active".to_string(),
));
}
} else {
let is_begin = !*auto_commit && !*rollback;
return Err(LimboError::TxError(
"cannot use BEGIN after BEGIN CONCURRENT".to_string(),
));
}
}