mirror of
https://github.com/isar/rusqlite.git
synced 2025-04-03 13:02:58 +08:00
Fix fmt requirements
This commit is contained in:
parent
a1e85c6354
commit
47867c0a97
@ -805,13 +805,10 @@ mod test {
|
|||||||
|
|
||||||
fn one_changeset_update() -> Result<Changeset> {
|
fn one_changeset_update() -> Result<Changeset> {
|
||||||
let db = Connection::open_in_memory()?;
|
let db = Connection::open_in_memory()?;
|
||||||
db.execute_batch("
|
db.execute_batch(
|
||||||
CREATE TABLE foo(
|
"CREATE TABLE foo(t TEXT PRIMARY KEY NOT NULL, i INTEGER NOT NULL DEFAULT 0);",
|
||||||
t TEXT PRIMARY KEY NOT NULL,
|
)?;
|
||||||
i INTEGER NOT NULL DEFAULT 0
|
db.execute_batch("INSERT INTO foo (t) VALUES ('bar');")?;
|
||||||
);
|
|
||||||
INSERT INTO foo (t) VALUES ('bar');
|
|
||||||
")?;
|
|
||||||
|
|
||||||
let mut session = Session::new(&db)?;
|
let mut session = Session::new(&db)?;
|
||||||
session.attach(None)?;
|
session.attach(None)?;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user