This repository was archived by the owner on Aug 28, 2024. It is now read-only.
v1.4.0
Backwards Incompatible Changes
- The
memory_global_by_current_allocatedviews were renamed tomemory_global_by_current_bytesfor consistency with the other memory views - The
ps_setup_enable_consumersprocedure was renamed tops_setup_disable_consumerfor naming consistency (everything is now singular, not plural) - The
format_timefunction displayed values in minutes incorrectly, it now rounds to minutes, and uses an 'm' suffix, like the rest of the units
Improvements
- The beginnings of a mysql-test suite have been added
- The
innodb_lock_waits/x$innodb_lock_waitsviews were improved (Contributions by both Jesper Wisborg Krogh and Mark Matthews)
** Added thewait_started,wait_age,waiting_trx_startedwaiting_trx_age,waiting_trx_rows_lockedandwaiting_trx_rows_modifiedcolumns for waiting transactions
** Added theblocking_trx_started,blocking_trx_age,blocking_trx_rows_lockedandblocking_trx_rows_modifiedfor blocking transactions
** Order the result set so the oldest lock waits are first
** Thewaiting_tableandwaiting_indexwere always the same as theblocking_tableandblocking_index. So the blocking_% columns have been removed and the waiting_% columns have been renamed to locked_%
** Thewaiting_lock_typeandblocking_lock_typewere also always the same. So these were removed and replaced with a singlelocked_typecolumn
** Renamed thewaiting_threadandblocking_threadtowaiting_pidandblocking_pidrespectively to avoid confusion with the threads from the Performance Schema. - Added the
sys_get_configfunction, used to get configuration parameters from thesys_configtable - primarily from other sys objects, but can be used individually (Contributed by Jesper Wisborg Krogh) - Add an option to generate_sql_file.sh to generate a mysql_install_db / mysqld --initialize format friendly file
- Added the
ps_is_thread_instrumentedfunction, to check whether a specified thread is instrumented within Performance Schema - Added the
ps_is_consumer_enabledfunction, to check whether a specified consumer is enabled within Performance Schema (Contributed by Jesper Wisborg Krogh) - Added some further replacements to the
format_pathfunction (slave_load_tmpdir,innodb_data_home_dir,innodb_log_group_home_dirandinnodb_undo_directory)
Bug Fixes
- The 5.6
host_summaryandx$host_summaryviews incorrectly had the column withCOUNT(DISTINCT accounts.user)namedunique_hostsinstead ofunique_users(Contributed by Jesper Wisborg Krogh) - Both the
format_timeandformat_bytestook a BIGINT as input, and output VARCHAR, but BIGINT could be too small for aggregated values for the inputs. Now both functions both use TEXT as their input (Issue #34, Issue #38) - The
format_timefunction displayed values in minutes incorrectly, it now rounds to minutes, and uses an 'm' suffix, like the rest of the units - The
sys_configrelated triggers had no DEFINER clause set - The
ps_setup_disable_threadprocedure always disabled the current thread and was ignoring the connection id given as an argument (Contributed by Jesper Wisborg Krogh) - The
ps_trace_threadprocedure had an incorrect calculation of how long the procedure has been running (Contributed by Jesper Wisborg Krogh)
Implementation Details
Various changes were made to allow better generation of integration sql files:
- The formatting for all comments has been standardized on -- line comments. C-style /* comments / have been removed
* Issue #35 had one instance of this resolved in this release (contributed by Joe Grasse), but the entire code base has now been done - Each object has been created within it's own file. No longer do x$ views live with their non-x$ counterparts
- DELIMITERs were standardized to $$