diff Framework/PostgreSQL/PostgreSQLTransaction.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 fbb52129158a
line wrap: on
line diff
--- a/Framework/PostgreSQL/PostgreSQLTransaction.h	Wed Mar 24 15:59:23 2021 +0100
+++ b/Framework/PostgreSQL/PostgreSQLTransaction.h	Thu Mar 25 13:56:26 2021 +0100
@@ -36,7 +36,6 @@
   private:
     PostgreSQLDatabase& database_;
     bool isOpen_;
-    bool readOnly_;
 
   public:
     explicit PostgreSQLTransaction(PostgreSQLDatabase& database);
@@ -48,11 +47,6 @@
       return false;
     }
     
-    virtual bool IsReadOnly() const  ORTHANC_OVERRIDE
-    {
-      return readOnly_;
-    }
-
     void Begin();
 
     virtual void Rollback() ORTHANC_OVERRIDE;