• unknown's avatar
    Only set thd->query to 0 if LOCK_thread_count is hold · cf5ce556
    unknown authored
    This fixes a possible core dump problem in SHOW PROCESSLIST
    
    
    sql/slave.cc:
      Only set thd->query to 0 if LOCK_thread_count is hold
    sql/sql_db.cc:
      Only set thd->query to 0 if LOCK_thread_count is hold
      Also first set query_length, then query
    sql/sql_parse.cc:
      Indentation changes
    cf5ce556
slave.cc 45.1 KB