comparison Framework/MySQL/MySQLStatement.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
comparison
equal deleted inserted replaced
213:c2e4a909de0e 214:ab96698c73a3
37 class ResultMetadata; 37 class ResultMetadata;
38 38
39 void Close(); 39 void Close();
40 40
41 MySQLDatabase& db_; 41 MySQLDatabase& db_;
42 bool readOnly_;
43 MYSQL_STMT *statement_; 42 MYSQL_STMT *statement_;
44 GenericFormatter formatter_; 43 GenericFormatter formatter_;
45 std::vector<ResultField*> result_; 44 std::vector<ResultField*> result_;
46 std::vector<MYSQL_BIND> outputs_; 45 std::vector<MYSQL_BIND> outputs_;
47 46
48 public: 47 public:
49 MySQLStatement(MySQLDatabase& db, 48 MySQLStatement(MySQLDatabase& db,
50 const Query& query); 49 const Query& query);
51 50
52 virtual ~MySQLStatement(); 51 virtual ~MySQLStatement();
53
54 virtual bool IsReadOnly() const ORTHANC_OVERRIDE
55 {
56 return readOnly_;
57 }
58 52
59 MYSQL_STMT* GetObject(); 53 MYSQL_STMT* GetObject();
60 54
61 size_t GetResultFieldsCount() const 55 size_t GetResultFieldsCount() const
62 { 56 {