Rename Savepoint::rollback() to Savepoint::rollbackTo()

This commit is contained in:
Sébastien Rombauts 2022-12-15 13:41:41 +01:00
parent 4a9cc0adce
commit ce9699decf
2 changed files with 4 additions and 2 deletions

View File

@ -84,7 +84,9 @@ public:
/**
* @brief Rollback to the savepoint, but don't release it.
*/
void rollback();
void rollbackTo();
// @deprecated same as rollbackTo();
void rollback() { rollbackTo(); }
private:
Database& mDatabase; ///< Reference to the SQLite Database Connection

View File

@ -66,7 +66,7 @@ void Savepoint::release()
}
// Rollback to the savepoint, but don't release it
void Savepoint::rollback()
void Savepoint::rollbackTo()
{
if (!mbReleased)
{