• Mats Kindahl's avatar
    Fixning compiler warnings. Fixing build failure for valgrind platform. · d2371154
    Mats Kindahl authored
    
    include/my_global.h:
      Moving YESNO() macro here from log.cc (it prints either "yes" or "no" depending on a boolean value).
    sql/log.cc:
      Moving YESNO() function to my_global.h.
    sql/sql_class.cc:
      Adding default case to printout function to avoid warning.
      Only defining function for debug builds since it isn't used 
      in non-debug build (hence produce a warning).
    sql/sql_class.h:
      Printing yes/no answer instead of memory address since the
      case produces an error/warning on valgrind platform.
    d2371154
my_global.h 49.4 KB