fix: partial comment explaining Db::execute_valueless

Signed-off-by: Lars Wirzenius <liw@liw.fi>
This commit is contained in:
Lars Wirzenius
2024-07-16 17:39:12 +03:00
parent 3303d7d873
commit 24ed10c6da
+1 -1
View File
@@ -120,7 +120,7 @@ impl Db {
}
// Execute a statement that doesn't return any rows with values.
// This means basically any statement except S
// This means basically any statement except SELECT.
fn execute_valueless(stmt: &mut Stmt) -> Result<(), DbError> {
stmt.stmt.reset().map_err(DbError::reset)?;