• 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
sql_db.cc 9.97 KB