We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cda864e commit fd990f7Copy full SHA for fd990f7
1 file changed
libsql/src/local/connection.rs
@@ -596,17 +596,16 @@ impl Connection {
596
)
597
};
598
599
+ if conflict != 0 {
600
+ return Err(errors::Error::WalConflict);
601
+ }
602
if rc != 0 {
603
return Err(errors::Error::SqliteFailure(
604
rc as std::ffi::c_int,
605
"wal_insert_frame failed".to_string(),
606
));
607
}
608
- if conflict != 0 {
- return Err(errors::Error::WalConflict);
- }
609
-
610
Ok(())
611
612
0 commit comments