Mercurial > hg > orthanc-databases
diff Framework/MySQL/MySQLStatement.cpp @ 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 | 3236894320d6 |
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