mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
fix: remove unused Mutex
This commit is contained in:
parent
7919ff032a
commit
897898fdbd
2 changed files with 6 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue