IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39093 for trunk


Ignore:
Timestamp:
Nov 9, 2015, 5:52:36 PM (11 years ago)
Author:
eugene
Message:

send NULL to mysql for NAN values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/tools/src/fits_to_mysql.c

    r39060 r39093  
    582582              PrintIOBuffer_float (&output, myValue);
    583583            } else {
    584               PrintIOBuffer (&output, "-999");
     584              PrintIOBuffer (&output, "NULL");
    585585            }
    586586            if (j < columns[Nf].Nval - 1) {
     
    597597              PrintIOBuffer_double (&output, myValue);
    598598            } else {
    599               PrintIOBuffer (&output, "-999");
     599              PrintIOBuffer (&output, "NULL");
    600600            }
    601601            if (j < columns[Nf].Nval - 1) {
Note: See TracChangeset for help on using the changeset viewer.