Index: /branches/eam_branches/ipp-20230313/Ohana/src/libdvo/src/mosaic_astrom.c
===================================================================
--- /branches/eam_branches/ipp-20230313/Ohana/src/libdvo/src/mosaic_astrom.c	(revision 42760)
+++ /branches/eam_branches/ipp-20230313/Ohana/src/libdvo/src/mosaic_astrom.c	(revision 42761)
@@ -60,6 +60,7 @@
     j = getDISentry (images[i].tzero, images[i].tzero + (int) images[i].exptime, DIStzero, DISentry, Ndis);
     if (j == -1) {
-      if (NfailMatch < 100) fprintf (stderr, "WARNING: can't find matching mosaic: ID %d, name: %s, Dateobs %s,  \n", images[i].name);
-      // char *ohana_sec_to_date (time_t second) {
+      char *mydate = ohana_sec_to_date (images[i].tzero);
+      if (NfailMatch < 100) fprintf (stderr, "WARNING: can't find matching mosaic: ID %d, name: %s, Dateobs %s,  \n", images[i].imageID, images[i].name, mydate);
+      free (mydate);
       NfailMatch ++;
       continue;
Index: /branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/bcatalog.c
===================================================================
--- /branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/bcatalog.c	(revision 42760)
+++ /branches/eam_branches/ipp-20230313/Ohana/src/relphot/src/bcatalog.c	(revision 42761)
@@ -199,5 +199,5 @@
     if (nEXT >= nPSF) {
       Nmeasure -= Nm;
-      BAD_COUNT(Ngalaxy);
+      badCount.Ngalaxy++;
       continue; 
     }
@@ -209,5 +209,5 @@
     if (Nm <= STAR_TOOFEW) { /* enough measurements total? */
       Nmeasure -= Nm;
-      BAD_COUNT(Nfew);
+      badCount.Nfew++;
       continue; 
     }
@@ -219,5 +219,5 @@
     if (!anySecfiltGood) {
       Nmeasure -= Nm;
-      BAD_COUNT(Nfew);
+      badCount.Nfew++;
       continue; 
     }
Index: /branches/eam_branches/ipp-20230313/psLib/src/db/psDB.c
===================================================================
--- /branches/eam_branches/ipp-20230313/psLib/src/db/psDB.c	(revision 42760)
+++ /branches/eam_branches/ipp-20230313/psLib/src/db/psDB.c	(revision 42761)
@@ -55,5 +55,5 @@
 
 /* my_bool was removed from mysql at version 8.0.1, but not from mariadb */
-# if (MYSQL_VERSION_ID >= 80100) && !defined MARIADB_VERSION_ID 
+# if (MYSQL_VERSION_ID >= 80001) && !defined MARIADB_VERSION_ID 
   # define MYSQL_BOOL bool
 # else
