Skip to content
This repository was archived by the owner on Aug 28, 2024. It is now read-only.

Commit e9413d9

Browse files
committed
* Load the 5.6 version of the ps_setup_reset_to_default procedure on 5.6
* Update news file for release.
1 parent d56c057 commit e9413d9

File tree

2 files changed

+17
-14
lines changed

2 files changed

+17
-14
lines changed

NEWS.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,37 @@
11
# Change history for the MySQL sys schema
22

3-
## 1.4.0 (not yet released)
3+
## 1.4.0 (09/03/2015)
44

55
### Backwards Incompatible Changes
66

77
* The `memory_global_by_current_allocated` views were renamed to `memory_global_by_current_bytes` for consistency with the other memory views
88
* The `ps_setup_enable_consumers` procedure was renamed to `ps_setup_disable_consumer` for naming consistency (everything is now singular, not plural)
9+
* The `format_time` function displayed values in minutes incorrectly, it now rounds to minutes, and uses an 'm' suffix, like the rest of the units
910

1011
### Improvements
1112

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
13+
* The beginnings of a mysql-test suite have been added
14+
* The `innodb_lock_waits`/`x$innodb_lock_waits` views were improved (Contributions by both Jesper Wisborg Krogh and Mark Matthews)
15+
** Added the `wait_started`, `wait_age`, `waiting_trx_started` `waiting_trx_age`, `waiting_trx_rows_locked` and `waiting_trx_rows_modified` columns for waiting transactions
16+
** Added the `blocking_trx_started`, `blocking_trx_age`, `blocking_trx_rows_locked` and `blocking_trx_rows_modified` for blocking transactions
1517
** Order the result set so the oldest lock waits are first
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_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
18+
** 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 locked_%
19+
** The `waiting_lock_type` and `blocking_lock_type` were also always the same. So these were removed and replaced with a single `locked_type` column
20+
** Renamed the `waiting_thread` and `blocking_thread` to `waiting_pid` and `blocking_pid` respectively to avoid confusion with the threads from the Performance Schema.
21+
* 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)
22+
* Add an option to generate_sql_file.sh to generate a mysql_install_db / mysqld --initialize format friendly file
2223
* 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 the `ps_is_consumer_enabled` function, to check whether a specified consumer is enabled within Performance Schema (Contributed by Jesper Wisborg Krogh)
2425
* 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`)
2526

2627
### Bug Fixes
2728

2829
* 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
30+
* 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 input (Issue #34, Issue #38)
31+
* The `format_time` function displayed values in minutes incorrectly, it now rounds to minutes, and uses an 'm' suffix, like the rest of the units
3132
* The `sys_config` related triggers had no DEFINER clause set
33+
* The `ps_setup_disable_thread` procedure always disabled the current thread and was ignoring the connection id given as an argument (Contributed by Jesper Wisborg Krogh)
34+
* The `ps_trace_thread` procedure had an incorrect calculation of how long the procedure has been running (Contributed by Jesper Wisborg Krogh)
3235

3336
### Implementation Details
3437

sys_56.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ SOURCE ./procedures/ps_setup_enable_thread.sql
142142

143143
SOURCE ./procedures/ps_setup_reload_saved.sql
144144
SOURCE ./procedures/ps_setup_reset_to_default_57_before.sql
145-
SOURCE ./procedures/ps_setup_reset_to_default_57.sql
145+
SOURCE ./procedures/ps_setup_reset_to_default.sql
146146
SOURCE ./procedures/ps_setup_reset_to_default_57_after.sql
147147
SOURCE ./procedures/ps_setup_save.sql
148148
SOURCE ./procedures/ps_setup_show_disabled.sql

0 commit comments

Comments
 (0)