Index: trunk/Ohana/src/tools/src/fits_to_mysql.c
===================================================================
--- trunk/Ohana/src/tools/src/fits_to_mysql.c	(revision 39092)
+++ trunk/Ohana/src/tools/src/fits_to_mysql.c	(revision 39093)
@@ -582,5 +582,5 @@
 	      PrintIOBuffer_float (&output, myValue);
 	    } else {
-	      PrintIOBuffer (&output, "-999");
+	      PrintIOBuffer (&output, "NULL");
 	    }
 	    if (j < columns[Nf].Nval - 1) {
@@ -597,5 +597,5 @@
 	      PrintIOBuffer_double (&output, myValue);
 	    } else {
-	      PrintIOBuffer (&output, "-999");
+	      PrintIOBuffer (&output, "NULL");
 	    }
 	    if (j < columns[Nf].Nval - 1) {
