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:
florijan 2017-12-20 14:19:23 +01:00
parent e999207b2f
commit 9191800fc6

View File

@ -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_); }