mirror of
https://github.com/cuberite/SQLiteCpp.git
synced 2025-08-10 12:46:12 -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.
|
* @brief Rollback to the savepoint, but don't release it.
|
||||||
*/
|
*/
|
||||||
void rollback();
|
void rollbackTo();
|
||||||
|
// @deprecated same as rollbackTo();
|
||||||
|
void rollback() { rollbackTo(); }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Database& mDatabase; ///< Reference to the SQLite Database Connection
|
Database& mDatabase; ///< Reference to the SQLite Database Connection
|
||||||
|
@ -66,7 +66,7 @@ void Savepoint::release()
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Rollback to the savepoint, but don't release it
|
// Rollback to the savepoint, but don't release it
|
||||||
void Savepoint::rollback()
|
void Savepoint::rollbackTo()
|
||||||
{
|
{
|
||||||
if (!mbReleased)
|
if (!mbReleased)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user