• Mats Kindahl's avatar
    Fixning compiler warnings. Fixing build failure for valgrind platform. · 8b637b28
    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.
    8b637b28
sql_class.cc 101 KB