• Guilhem Bichot's avatar
    fixes for gcc 4.4.1 warnings · f0a938c4
    Guilhem Bichot authored
    sql/mysql_priv.h:
      see change done in sys_vars.cc
    sql/mysqld.cc:
      functions were defined all the time but not used if in libmysqld
    sql/sql_select.cc:
      const_part is unsigned, 1<<etc is signed
    sql/sql_yacc.yy:
      parenthesis
    sql/sys_vars.cc:
      offsetof() gives warning for non-POD types, but it's said to be safe if the type only has a constructor (see definition
      of my_offsetof() for more info).
    f0a938c4
mysql_priv.h 104 KB