changeset 189:b968e7bfa7f9

fix build against mariadb client
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 16 Dec 2020 15:49:32 +0100
parents 8a4cc1f715eb
children 22a8a6d5ed82 031aee96d2da
files Framework/MySQL/MySQLStatement.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/MySQL/MySQLStatement.cpp	Wed Dec 16 15:43:49 2020 +0100
+++ b/Framework/MySQL/MySQLStatement.cpp	Wed Dec 16 15:49:32 2020 +0100
@@ -111,7 +111,7 @@
     ValueType               orthancType_;
     std::string             buffer_;
 
-#if MYSQL_VERSION_ID < 80000
+#if (MYSQL_VERSION_ID < 80000) || defined(MARIADB_VERSION_ID)
     my_bool                 isNull_;
     my_bool                 isError_;
 #else