diff Framework/MySQL/MySQLTransaction.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 ee5858d438dc
line wrap: on
line diff
--- a/Framework/MySQL/MySQLTransaction.h	Wed Mar 24 15:59:23 2021 +0100
+++ b/Framework/MySQL/MySQLTransaction.h	Thu Mar 25 13:56:26 2021 +0100
@@ -34,7 +34,6 @@
   {
   private:
     MySQLDatabase&  db_;
-    bool            readOnly_;
     bool            active_;
 
   public:
@@ -47,11 +46,6 @@
       return false;
     }
     
-    virtual bool IsReadOnly() const ORTHANC_OVERRIDE
-    {
-      return readOnly_;
-    }
-
     virtual void Rollback() ORTHANC_OVERRIDE;
     
     virtual void Commit() ORTHANC_OVERRIDE;