Skip to content

Commit 3ae2791

Browse files
committed
Remove useless extra_check feature
1 parent 4c1d2ef commit 3ae2791

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

crates/duckdb/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ modern-full = ["chrono", "serde_json", "url", "r2d2", "uuid", "polars"]
3434
polars = ["dep:polars", "dep:polars-arrow"]
3535
# FIXME: These were added to make clippy happy: these features appear unused and should perhaps be removed
3636
column_decltype = []
37-
extra_check = []
3837
# Warning: experimental feature
3938
loadable-extension = ["libduckdb-sys/loadable-extension"]
4039

crates/duckdb/src/pragma.rs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -359,12 +359,6 @@ mod test {
359359
#[ignore]
360360
fn test_locking_mode() -> Result<()> {
361361
let db = Connection::open_in_memory()?;
362-
let r = db.pragma_update(None, "locking_mode", &"exclusive");
363-
if cfg!(feature = "extra_check") {
364-
r.unwrap_err();
365-
} else {
366-
r?;
367-
}
368-
Ok(())
362+
db.pragma_update(None, "locking_mode", &"exclusive")
369363
}
370364
}

0 commit comments

Comments
 (0)