mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-06 18:56:40 -04:00
Rename Savepoint::rollback() to Savepoint::rollbackTo()
This commit is contained in:
parent
4a9cc0adce
commit
ce9699decf
@ -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
|
||||
|
@ -66,7 +66,7 @@ void Savepoint::release()
|
||||
}
|
||||
|
||||
// Rollback to the savepoint, but don't release it
|
||||
void Savepoint::rollback()
|
||||
void Savepoint::rollbackTo()
|
||||
{
|
||||
if (!mbReleased)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user