diff --git a/src/vtab/vtablog.rs b/src/vtab/vtablog.rs index a6f8985..34dde32 100644 --- a/src/vtab/vtablog.rs +++ b/src/vtab/vtablog.rs @@ -286,6 +286,12 @@ mod test { let mut stmt = db.prepare("SELECT * FROM log;")?; let mut rows = stmt.query([])?; while rows.next()?.is_some() {} + db.execute("DELETE FROM log WHERE a = ?", ["a1"])?; + db.execute( + "INSERT INTO log (a, b, c) VALUES (?, ?, ?)", + ["a", "b", "c"], + )?; + db.execute("UPDATE log SET b = ?, c = ? WHERE a = ?", ["bn", "cn", "a1"])?; Ok(()) } }