fix: remove unused Mutex

This commit is contained in:
Forato
2025-06-25 18:52:12 -03:00
parent 7919ff032a
commit 897898fdbd
2 changed files with 6 additions and 1 deletions

View File

@@ -32,6 +32,11 @@ test("Property .readonly of database if not set", async (t) => {
t.is(db.readonly, false);
});
test("Property .open of database", async (t) => {
const db = new Database("foobar.db");
t.is(db.open, true);
});
test("Statement.get() returns data", async (t) => {
const [db] = await connect(":memory:");
const stmt = db.prepare("SELECT 1");

View File

@@ -4,7 +4,7 @@ use std::cell::{RefCell, RefMut};
use std::num::NonZeroUsize;
use std::rc::Rc;
use std::sync::{Arc, Mutex};
use std::sync::Arc;
use limbo_core::{LimboError, StepResult};
use napi::iterator::Generator;