# HG changeset patch # User Sebastien Jodogne # Date 1608129829 -3600 # Node ID 8a4cc1f715ebe4f31b32ac4eab91d26a004fcb07 # Parent 0b78198c28d6184367f1850aa9c08161eb4b90f4 cont diff -r 0b78198c28d6 -r 8a4cc1f715eb Framework/MySQL/MySQLStatement.cpp --- 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: