• unknown's avatar
    fix for Valgrind errors: query_id needs to be inited early (already fixed in... · 5dfd72a0
    unknown authored
    fix for Valgrind errors: query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
    because they are used by net_printf() and push_warning(), which can be called if check_connection() fails.
    
    
    sql/mysqld.cc:
      not needed anymore
    sql/repl_failsafe.cc:
      not needed anymore
    sql/slave.cc:
      not needed anymore
    sql/sql_class.cc:
      query_id needs to be inited early (already fixed in 5.0 by Konstantin) and so does client_capabilities (not fixed in 5.0);
      because they are used by net_printf() and push_warning(), which may be called if check_connection() fails.
    5dfd72a0
sql_class.cc 42.8 KB