fixed issue with transaction
This commit is contained in:
@@ -289,5 +289,7 @@ fn week_meal_delete(items: &MenuItems) -> Result<()> {
|
|||||||
stmt.execute(&[meal])?;
|
stmt.execute(&[meal])?;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
conn.commit()?;
|
||||||
|
conn.close()?;
|
||||||
Ok(())
|
Ok(())
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user