Mercurial > hg > orthanc-databases
diff Framework/SQLite/SQLiteTransaction.h @ 214:ab96698c73a3
removed useless information about read-only in ITransaction and IPrecompiledStatement
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 25 Mar 2021 13:56:26 +0100 |
parents | 3236894320d6 |
children | 35598014f140 |
line wrap: on
line diff
--- a/Framework/SQLite/SQLiteTransaction.h Wed Mar 24 15:59:23 2021 +0100 +++ b/Framework/SQLite/SQLiteTransaction.h Thu Mar 25 13:56:26 2021 +0100 @@ -36,7 +36,6 @@ { private: Orthanc::SQLite::Transaction transaction_; - bool readOnly_; public: explicit SQLiteTransaction(SQLiteDatabase& database); @@ -46,11 +45,6 @@ return false; } - virtual bool IsReadOnly() const ORTHANC_OVERRIDE - { - return readOnly_; - } - virtual void Rollback() ORTHANC_OVERRIDE { transaction_.Rollback();