Index: /branches/eam_branches/ipp-ppmerge-20241229/psLib/src/db/psDB.c
===================================================================
--- /branches/eam_branches/ipp-ppmerge-20241229/psLib/src/db/psDB.c	(revision 42770)
+++ /branches/eam_branches/ipp-ppmerge-20241229/psLib/src/db/psDB.c	(revision 42771)
@@ -55,6 +55,5 @@
 #include "psMetadataConfig.h"
 
-
-# if (MYSQL_VERSION_ID >= 80000)
+# if (MYSQL_VERSION_ID >= 80001) && !defined MARIADB_VERSION_ID 
     # define MYSQL_BOOL bool
 # else
