Skip to content
Permalink
Browse files
Remove unneeded todos (conn gets closed when shared ptr is deleted)
  • Loading branch information
wonder-sk committed Sep 9, 2021
1 parent 4800b29 commit ed047567f43624fa21bd65abaa6014a9a325aad4
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/providers/mssql/qgsmssqltransaction.cpp
@@ -142,7 +142,6 @@ bool QgsMssqlTransaction::commitTransaction( QString &error )
}

error = mConn->db().lastError().text();
// TODO? mConn.reset(); // should delete conn if we're the last ones
return false;
}

@@ -155,6 +154,5 @@ bool QgsMssqlTransaction::rollbackTransaction( QString &error )
}

error = mConn->db().lastError().text();
// TODO? mConn.reset(); // should delete conn if we're the last ones
return false;
}

0 comments on commit ed04756

Please sign in to comment.