Mercurial > hg > orthanc-databases
comparison Framework/MySQL/MySQLStatement.cpp @ 188:8a4cc1f715eb
cont
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 16 Dec 2020 15:43:49 +0100 |
parents | 6fe74f9a516e |
children | b968e7bfa7f9 |
comparison
equal
deleted
inserted
replaced
187:0b78198c28d6 | 188:8a4cc1f715eb |
---|---|
108 | 108 |
109 | 109 |
110 enum enum_field_types mysqlType_; | 110 enum enum_field_types mysqlType_; |
111 ValueType orthancType_; | 111 ValueType orthancType_; |
112 std::string buffer_; | 112 std::string buffer_; |
113 | |
114 #if MYSQL_VERSION_ID < 80000 | |
113 my_bool isNull_; | 115 my_bool isNull_; |
114 my_bool isError_; | 116 my_bool isError_; |
117 #else | |
118 bool isNull_; | |
119 bool isError_; | |
120 #endif | |
121 | |
115 unsigned long length_; | 122 unsigned long length_; |
116 | 123 |
117 public: | 124 public: |
118 explicit ResultField(const MYSQL_FIELD& field) : | 125 explicit ResultField(const MYSQL_FIELD& field) : |
119 mysqlType_(field.type), | 126 mysqlType_(field.type), |