• unknown's avatar
    Only set thd->query to 0 if LOCK_thread_count is hold · bd705492
    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
    bd705492
sql_db.cc 9.97 KB