diff --git a/quaint/src/connector/mssql/native/mod.rs b/quaint/src/connector/mssql/native/mod.rs index 18d9d0f9c61..d4fc7d5600a 100644 --- a/quaint/src/connector/mssql/native/mod.rs +++ b/quaint/src/connector/mssql/native/mod.rs @@ -256,7 +256,7 @@ impl Queryable for Mssql { // MSSQL doesn't have a "RELEASE SAVEPOINT" equivalent, so in a nested // transaction we just continue onwards fn release_savepoint_statement(&self, _depth: u32) -> Cow<'static, str> { - Cow::Owned("".to_string()) + Cow::Borrowed("") } /// Statement to rollback to a savepoint