mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-22 08:25:29 +01:00
booleans are hard
This commit is contained in:
@@ -1680,7 +1680,7 @@ pub fn op_transaction(
|
||||
unreachable!("unexpected Insn {:?}", insn)
|
||||
};
|
||||
let conn = program.connection.clone();
|
||||
if *write && !conn._db.open_flags.contains(OpenFlags::ReadOnly) {
|
||||
if *write && conn._db.open_flags.contains(OpenFlags::ReadOnly) {
|
||||
return Err(LimboError::ReadOnly);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user