|
9 | 9 |
|
10 | 10 | ### Improvements |
11 | 11 |
|
12 | | -* The innodb_lock_waits/x$innodb_lock_waits views were improved (Contributed by Jesper Wisborg Krogh) |
13 | | -** Added the wait_started column |
14 | | -** Added the wait_age column |
| 12 | +* The `innodb_lock_waits`/`x$innodb_lock_waits` views were improved (Contributed by Jesper Wisborg Krogh) |
| 13 | +** Added the `wait_started` column |
| 14 | +** Added the `wait_age` column |
15 | 15 | ** Order the result set so the oldest lock waits are first |
16 | 16 | ** The waiting_table and waiting_index will always be the same as the blocking_table and blocking_index. So the blocking_% columns have been removed and the waiting_% columns have been renamed to locked_% |
17 | | -** The waiting_lock_typeand blocking_lock_type will also always the same. So these were removed and replaced with a single locked_type column |
18 | | -** Rename the waiting_thread and blocking_thread to waiting_pid and blocking_pid respectively to avoid confusion with the threads from the Performance Schema. |
19 | | -* Added the `sys_get_config` function, used to get configuration parameters from the sys_config table - primarily from other sys objects, but can be used individually (Contributed by Jesper Wisborg Krogh) |
20 | | -* Add an option to generate_sql_file.sh to generate a mysql_install_db / --bootstrap format friendly file. |
| 17 | +** The `waiting_table` and `waiting_index` were always the same as the `blocking_table` and `blocking_index`. So the blocking_% columns have been removed and the waiting_% columns have been renamed to |
| 18 | +** The `waiting_lock_type` and b`locking_lock_type` were also always the same. So these were removed and replaced with a single `locked_type` column |
| 19 | +** Rename the `waiting_thread` and `blocking_thread` to `waiting_pid` and `blocking_pid` respectively to avoid confusion with the threads from the Performance Schema. |
| 20 | +* Added the `sys_get_config` function, used to get configuration parameters from the `sys_config` table - primarily from other sys objects, but can be used individually (Contributed by Jesper Wisborg K |
| 21 | +* Add an option to generate_sql_file.sh to generate a mysql_install_db / --bootstrap format friendly file |
| 22 | +* Added the `ps_is_thread_instrumented` function, to check whether a specified thread is instrumented within Performance Schema |
| 23 | +* Added the `ps_is_consumer_enabled` function, to check whether a specified consumer is enabled within Performance Schema |
| 24 | +* Added some further replacements to the `format_path` function (`slave_load_tmpdir`, `innodb_data_home_dir`, `innodb_log_group_home_dir` and `innodb_undo_directory`) |
21 | 25 |
|
22 | 26 | ### Bug Fixes |
23 | 27 |
|
24 | | -* The 5.6 host_summary and x$host_summary views incorrectly had the column with COUNT(DISTINCT accounts.user) named unique_hosts instead of unique_users (Contributed by Jesper Wisborg Krogh) |
| 28 | +* The 5.6 `host_summary` and `x$host_summary` views incorrectly had the column with `COUNT(DISTINCT accounts.user)` named `unique_hosts` instead of `unique_users` (Contributed by Jesper Wisborg Krogh) |
| 29 | +* Both the `format_time` and `format_bytes` took 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 inp |
| 30 | +* The `format_time` function displayed values in minutes incorrectly |
| 31 | +* The `sys_config` related triggers had no DEFINER clause set |
25 | 32 |
|
26 | 33 | ### Implementation Details |
27 | 34 |
|
|
0 commit comments