diff Framework/SQLite/SQLiteStatement.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 16aac0287485
line wrap: on
line diff
--- a/Framework/SQLite/SQLiteStatement.h	Wed Mar 24 15:59:23 2021 +0100
+++ b/Framework/SQLite/SQLiteStatement.h	Thu Mar 25 13:56:26 2021 +0100
@@ -40,7 +40,6 @@
   {
   private:
     std::unique_ptr<Orthanc::SQLite::Statement>  statement_;
-    bool                                       readOnly_;
     GenericFormatter                           formatter_;
 
     void BindParameters(const Dictionary& parameters);
@@ -49,11 +48,6 @@
     SQLiteStatement(SQLiteDatabase& database,
                     const Query& query);
 
-    virtual bool IsReadOnly() const ORTHANC_OVERRIDE
-    {
-      return readOnly_;
-    }
-
     Orthanc::SQLite::Statement& GetObject();
 
     IResult* Execute(ITransaction& transaction,