Remove tx::Transaction undefined methods
Summary: Remove two tx::Transaction methods that are not defined and never used. Reviewers: dgleich Reviewed By: dgleich Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1072
This commit is contained in:
parent
e999207b2f
commit
9191800fc6
@ -41,14 +41,6 @@ class Transaction {
|
||||
Transaction &operator=(Transaction &&) = delete;
|
||||
|
||||
public:
|
||||
/** Commits this transaction. After this call this transaction object is no
|
||||
* longer valid for use (it gets deleted by the engine that owns it). */
|
||||
void Commit();
|
||||
|
||||
/** Aborts this transaction. After this call this transaction object is no
|
||||
* longer valid for use (it gets deleted by the engine that owns it). */
|
||||
void Abort();
|
||||
|
||||
/** Acquires the lock over the given RecordLock, preventing other transactions
|
||||
* from doing the same */
|
||||
void TakeLock(RecordLock &lock) const { locks_.Take(&lock, *this, engine_); }
|
||||
|
Loading…
Reference in New Issue
Block a user