changeset 188:8a4cc1f715eb

cont
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Dec 2020 15:43:49 +0100
parents 0b78198c28d6
children b968e7bfa7f9
files Framework/MySQL/MySQLStatement.cpp
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/MySQL/MySQLStatement.cpp	Wed Dec 16 15:41:06 2020 +0100
+++ b/Framework/MySQL/MySQLStatement.cpp	Wed Dec 16 15:43:49 2020 +0100
@@ -110,8 +110,15 @@
     enum enum_field_types   mysqlType_;
     ValueType               orthancType_;
     std::string             buffer_;
+
+#if MYSQL_VERSION_ID < 80000
     my_bool                 isNull_;
     my_bool                 isError_;
+#else
+    bool                    isNull_;
+    bool                    isError_;
+#endif
+    
     unsigned long           length_;
 
   public: