• Michael Widenius's avatar
    Added new states to be able to better diagnose where server hangs. · a10a9448
    Michael Widenius authored
    - Table locks now ends with state "After table lock"
    - Open table now ends with state "After opening tables"
    - All calls to close_thread_tables(), not only from mysql_execute_command(), has state "closing tables"
    - Added state "executing" for mysql admin commands, like CACHE INDEX, REPAIR TABLE etc.
    - Added state "Finding key cache" for CACHE INDEX
    - Added state "Filling schema table" when we generate temporary table for SHOW commands and information schema.
    
    Other things:
    Add limit from innobase for thread_sleep_delay. This fixed a failing tests case.
    Added db.opt to support-files to make 'make package' work
    
    
    mysql-test/suite/funcs_1/datadict/processlist_val.inc:
      Use new state
    mysql-test/suite/funcs_1/r/processlist_priv_no_prot.result:
      Updated test result because of new state
    mysql-test/suite/funcs_1/r/processlist_val_no_prot.result:
      Updated test result because of new state
    sql/CMakeLists.txt:
      Have option files in support-files
    sq...
    a10a9448
sql_base.cc 321 KB