chunk_id
large_stringlengths
36
36
doc_type
large_stringclasses
2 values
category
large_stringclasses
17 values
document
large_stringclasses
50 values
version_raw
large_stringclasses
590 values
chunk_index
int64
0
262
text
large_stringlengths
11
5.69k
file_path
large_stringclasses
882 values
096cce36-dc78-5d61-b52f-11a0031a3828
changelog
mysql
mysql
8021
0
# MySQL 8.0.21 Release Notes Source: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-21.html Version: 8.0.21 ## Changes in MySQL 8.0.21 (2020-07-13, General Availability) For general information about upgrades, downgrades, platform support, etc., please visit [https://dev.mysql.com/doc/relnotes/mysql/8.0/en...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
3ec79d19-a31d-5bde-8fc9-91c73bfd751f
changelog
mysql
mysql
8021
1
* [Compilation Notes](news-8-0-21.html#mysqld-8-0-21-compiling "Compilation Notes") * [Configuration Notes](news-8-0-21.html#mysqld-8-0-21-configuration "Configuration Notes") * [Connection Management Notes](news-8-0-21.html#mysqld-8-0-21-connection-management "Connection Management Notes") * [Deprecation and Removal N...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
a90cd56e-c287-5618-bcc5-0f01f92c152a
changelog
mysql
mysql
8021
2
* [Functionality Added or Changed](news-8-0-21.html#mysqld-8-0-21-feature "Functionality Added or Changed") * [Bugs Fixed](news-8-0-21.html#mysqld-8-0-21-bug "Bugs Fixed") ### Account Management Notes * You can now set per-user comments and attributes when creating or updating MySQL user accounts. A user comment co...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
82c0728b-153c-5a39-a72b-f43e8d5b61cb
changelog
mysql
mysql
8021
3
`bill@example.com`. ```None CREATE USER 'bill'@'localhost' COMMENT 'This is Bill\'s user account'; ALTER USER 'mary'@'localhost' ATTRIBUTE '{"email":"bill@example.com"}'; ``` Only one of `COMMENT` or `ATTRIBUTE` can be used in the same `CREATE USER` or `ALTER USER` statement. User comments...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
f90b3a77-6c62-5c27-9692-8adfcdf11a03
changelog
mysql
mysql
8021
4
[`JSON_MERGE_PATCH()`](/doc/refman/8.0/en/json-modification-functions.html#function_json-merge-patch); new key-value pairs are appended to the attribute, and new values for existing keys overwrite their previous values. To remove a given key-value pair from a user attribute, use `ALTER USER user ATTRIBUTE ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
f517f7f4-fa92-5bda-89ae-3d4afd2a7791
changelog
mysql
mysql
8021
5
functions. This means that the `MYSQL_OPT_COMPRESSION_ALGORITHMS` and `MYSQL_OPT_ZSTD_COMPRESSION_LEVEL` options for the [`mysql_options()`](/doc/c-api/8.0/en/mysql-options.html) function now affect asynchronous operations, not just synchronous operations. See [mysql\_options()](/doc/c-api/8.0/en/mysql-opti...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
825751e0-6c0f-5304-96c0-8af641d89186
changelog
mysql
mysql
8021
6
used the same TLS configuration, such as the certificate and key files for encrypted connections. It is now possible to configure TLS material separately for the administrative interface: + There are new configuration parameters that apply specifically to the administrative interface. + The [`ALTER INSTA...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
de373500-e3c1-5664-b3ad-7d57dedc69f7
changelog
mysql
mysql
8021
7
[Administrative Interface Support for Encrypted Connections](/doc/refman/8.0/en/administrative-connection-interface.html#administrative-interface-encrypted-connections), [ALTER INSTANCE Statement](/doc/refman/8.0/en/alter-instance.html), and [The tls\_channel\_status Table](/doc/refman/8.0/en/performance-schema-t...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
94522079-8415-5c92-bd99-05f365d2b1ef
changelog
mysql
mysql
8021
8
future release in which using any such columns in the proposed partitioning key will cause the [`CREATE TABLE`](/doc/refman/8.0/en/create-table.html) or [`ALTER TABLE`](/doc/refman/8.0/en/alter-table.html) statement in which they occur to be rejected. When one or more columns using index prefixes are specifi...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
d46eaded-7b50-5c5c-a82b-31580246c6cc
changelog
mysql
mysql
8021
9
[Column index prefixes not supported for key partitioning](/doc/refman/8.0/en/partitioning-limitations.html#partitioning-limitations-prefixes), and [KEY Partitioning](/doc/refman/8.0/en/partitioning-key.html). (Bug #29941932, Bug #29941959, Bug #31100205, WL #13588) References: See also: Bug #29942014. ### JS...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
83c09575-c58e-507b-b71e-d26c5feaf01c
changelog
mysql
mysql
8021
10
*`type`* is a data type compatible with *`CAST()`*. `RETURNING type` is optional; if no return type is specified, `JSON_VALUE()` returns [`VARCHAR(512)`](/doc/refman/8.0/en/char.html). `JSON_VALUE()` also supports `ON EMPTY` and `ON ERROR` clauses similar to those used with [`JSON_TABLE()`](/doc/refman...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
79fe5508-0884-5789-892d-a1f794ce6041
changelog
mysql
mysql
8021
11
WHERE JSON_VALUE(items, '$.name' RETURNING CHAR(50)) = "hat"; SELECT * FROM inventory WHERE JSON_VALUE(items, '$.price' RETURNING DECIMAL(5,2)) <= 100.01; SELECT items->"$.name" AS item, items->"$.price" AS amount FROM inventory WHERE JSON_VALUE(items, '$.quantity' RETURNING UNSIGNED) > 50...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
d78fdaf0-6d1e-518b-acc6-0d868375129e
changelog
mysql
mysql
8021
12
choosing a different optimization for such queries can provide better performance. To handle such occurrences, it is now possible to disable this optimization by setting the [`optimizer_switch`](/doc/refman/8.0/en/server-system-variables.html#sysvar_optimizer_switch) system variable's [`prefer_ordering_inde...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
4863eb29-8320-55ca-8c1b-6858aab1b811
changelog
mysql
mysql
8021
13
semijoin transformation or subquery materialization. This can be done when the statement does not use `LIMIT` or `ORDER BY`, and when semijoin or subquery materialization is allowed by any optimizer hints used in the subquery, or by the value of the [`optimizer_switch`](/doc/refman/8.0/en/server-system-vari...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
6b69df20-5aba-5eb3-a4b8-74e734a5d5ee
changelog
mysql
mysql
8021
14
[`InnoDB`](/doc/refman/8.0/en/innodb-storage-engine.html) tables, when the transaction isolation level is weaker than [`REPEATABLE READ`](/doc/refman/8.0/en/innodb-transaction-isolation-levels.html#isolevel_repeatable-read). (Bug #35794, Bug #96423, Bug #11748293, Bug #30139244, WL #6507) * Added the [`optimize...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
bd8c7789-4b5e-55ed-ad90-5bcb3da83e1c
changelog
mysql
mysql
8021
15
`ANY` and `ALL` subqueries which can be rewritten to use [`MIN()`](/doc/refman/8.0/en/aggregate-functions.html#function_min) or [`MAX()`](/doc/refman/8.0/en/aggregate-functions.html#function_max) are also not affected. With `subquery_to_derived=on`, the optimization can also be applied to a table subquery ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
747c5f68-88a7-53bd-afb2-a6440b6faf94
changelog
mysql
mysql
8021
16
(WL #13851) * Building on work done in MySQL 8.0.18, the server now performs injection of casts into queries to avoid mismatches when comparing string data types with those of numeric or temporal types; as when comparing numeric and temporal types, the optimizer now adds casting operations in the item tree in...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
8bfd806e-809d-527f-84c3-7419d81eb4c7
changelog
mysql
mysql
8021
17
[`>`](/doc/refman/8.0/en/comparison-operators.html#operator_greater-than), [`<`](/doc/refman/8.0/en/comparison-operators.html#operator_less-than), [`<=`](/doc/refman/8.0/en/comparison-operators.html#operator_less-than-or-equal), [`<>`](/doc/refman/8.0/en/comparison-operators.html#operator_not-equal)/[`!=`](/doc...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
a57fe629-dc3d-5cf8-81a4-164dcf6aedff
changelog
mysql
mysql
8021
18
[`TINYINT`](/doc/refman/8.0/en/integer-types.html), [`MEDIUMINT`](/doc/refman/8.0/en/integer-types.html), [`INT`](/doc/refman/8.0/en/integer-types.html)/[`INTEGER`](/doc/refman/8.0/en/integer-types.html), [`BIGINT`](/doc/refman/8.0/en/integer-types.html); [`DECIMAL`](/doc/refman/8.0/en/fixed-point-types.html)...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
6470358b-37a3-5b57-98f9-c227fdf37106
changelog
mysql
mysql
8021
19
`DOUBLE` when compared with a string value (as is the string value). For such comparisons between string types and [`TIMESTAMP`](/doc/refman/8.0/en/datetime.html) or [`DATETIME`](/doc/refman/8.0/en/datetime.html) values, the arguments are cast as `DATETIME`; when a string type is compared with a [`DATE`](/d...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
923462df-3235-59d3-8b27-9c90389a96cf
changelog
mysql
mysql
8021
20
`EXPLAIN FORMAT=TREE`. `EXPLAIN [FORMAT=TRADITIONAL]` can also be used, but in this case it is necessary, following execution of the `EXPLAIN` statement, to issue [`SHOW WARNINGS`](/doc/refman/8.0/en/show-warnings.html) to view the rewritten query. This change is not expected to cause any difference in q...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
498f64c3-2141-599a-923a-011055b2ae71
changelog
mysql
mysql
8021
21
[`WITH_LIBEVENT`](/doc/refman/8.0/en/source-configuration-options.html#option_cmake_with_libevent) **CMake** option, the following two changes were made: 1. `yes` is no longer permitted as a synonym for `system`. Use `system` instead. 2. If `system` is specified but no system `libevent` is fou...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
a5082e18-23d8-5692-8eb7-fe4342a51eed
changelog
mysql
mysql
8021
22
status variable provides discoverability for the supported methods. Its value is a string consisting of supported method names separated by spaces. Example: `"SCRAM-SHA1 GSSAPI"` (WL #13876) ### Security Notes * **Incompatible Change:** Access to the [`INFORMATION_SCHEMA.FILES`](/doc/refman/8.0/en/infor...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
c07ca9a5-33a2-51af-bcac-00aafd9f3b7a
changelog
mysql
mysql
8021
23
* For platforms on which OpenSSL libraries are bundled, the linked OpenSSL library for MySQL Server has been updated to version 1.1.1g. Issues fixed in the new OpenSSL version are described at <https://www.openssl.org/news/cl111.txt> and <https://www.openssl.org/news/vulnerabilities.html>. (Bug #31296697) * P...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
ccdda196-dc88-5b36-960c-a5128926a8e6
changelog
mysql
mysql
8021
24
### Test Suite Notes * **mysql-test-run.pl** no longer accepts unique prefixes of command options. Complete option names must be given. (Bug #31390127) * MySQL tests were updated to use googletest 1.10.0. (Bug #31364750) * The `innodb.innodb_mysql` test case was updated to avoid nondeterminism of output row ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
598d59ac-574c-5d62-b80d-bf57fb42da97
changelog
mysql
mysql
8021
25
### X Plugin Notes * Where a dollar sign ($) was used to reference an entire document, X Plugin handled the reference differently depending on the context in which it was used. This has now been standardized. (Bug #31374713) * With certain settings for the global SQL mode, X Plugin's authentication process f...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
b7668f94-896a-5ef7-b49c-7f823b519007
changelog
mysql
mysql
8021
26
[`binlog_checksum`](/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_checksum) had to be set to `NONE` when configuring a server instance that would become a group member. This requirement is now removed, and the default can be used. The setting for [`binlog_checksum`](/doc/refman/8.0/en/r...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
87915f78-7103-5aad-8836-1608a7a32701
changelog
mysql
mysql
8021
27
[`UNHEX()`](/doc/refman/8.0/en/string-functions.html#function_unhex) function by introducing a lookup table for mapping a hexadecimal digit string to its binary representation. This change speeds up execution of the function by a factor of 8 or more in testing. (Bug #31173103) * **InnoDB:** Redo logging can...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
959af52b-e26c-5e41-9f5f-d888438794e3
changelog
mysql
mysql
8021
28
See [Disabling Redo Logging](/doc/refman/8.0/en/innodb-redo-log.html#innodb-disable-redo-logging). (WL #13795) * **InnoDB:** Truncating an undo tablespace on a busy system could affect performance due to associated flushing operations that remove old undo tablespace pages from the buffer pool and flush the ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
e84525f0-579f-5439-aa69-db5bba29686f
changelog
mysql
mysql
8021
29
If the limit is exceeded, an undo tablespace can still be made inactive, but it is not truncated until after the next checkpoint. [`INNODB_METRICS`](/doc/refman/8.0/en/information-schema-innodb-metrics-table.html) counters associated with defunct undo truncate flushing operations were removed. Removed coun...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
217f20e9-5fe0-5750-bfdf-bc1879b6dc50
changelog
mysql
mysql
8021
30
not moved. Disabling tablespace path validation improves startup time on systems with a large number of tablespace files. For more information, see [Disabling Tablespace Path Validation](/doc/refman/8.0/en/innodb-disabling-tablespace-path-validation.html). (WL #14008) * **InnoDB:** Table and table partitio...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
e9718fa8-0da5-558d-a7c3-28bb61836b61
changelog
mysql
mysql
8021
31
[`datadir`](/doc/refman/8.0/en/server-system-variables.html#sysvar_datadir), [`innodb_data_home_dir`](/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_data_home_dir), and [`innodb_directories`](/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_directories) variables. Truncating an `InnoDB` table t...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
aa420ac3-e4c5-59e5-96c4-d149d489baac
changelog
mysql
mysql
8021
32
To improve concurrency for operations that require access to lock queues for table and row resources, the lock system mutex (`lock_sys->mutex`) was replaced by sharded latches, and lock queues were grouped into table and page *lock queue shards*, with each shard protected by a dedicated mutex. Previously, t...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
60617fd7-9c27-5532-a674-7f0b7dda036f
changelog
mysql
mysql
8021
33
(`lock_sys->latches.table_shards.mutexes`), implemented as an array of 512 mutexes, with each mutex dedicated to one of 512 table lock queue shards. + Page shard latches (`lock_sys->latches.page_shards.mutexes`), implemented as an array of 512 mutexes, with each mutex dedicated to one of 512 p...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
dcd6d696-97bb-52b0-a7ff-7ee36e111c4a
changelog
mysql
mysql
8021
34
for this purpose as well as for client traffic. Advertising distributed recovery endpoints instead gives you improved control of distributed recovery traffic (comprising remote cloning operations and state transfer from the binary log) in your network infrastructure. The list of distributed recovery endpoin...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
faf1c453-95b2-534d-8c6e-7a86062bdba5
changelog
mysql
mysql
8021
35
the `group_replication_recovery` channel. When you specify user credentials on [`START GROUP_REPLICATION`](/doc/refman/8.0/en/start-group-replication.html), the credentials are saved in memory only, and are removed by a [`STOP GROUP_REPLICATION`](/doc/refman/8.0/en/stop-group-replication.html) statement or se...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
1f0bfa21-8ecc-5c83-b88e-a57d005f29c5
changelog
mysql
mysql
8021
36
GROUP_REPLICATION`](/doc/refman/8.0/en/start-group-replication.html) take precedence over these. However, the credentials from the replication metadata repositories are used if [`START GROUP_REPLICATION`](/doc/refman/8.0/en/start-group-replication.html) is specified without user credentials, which happens on ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
83ff1aad-ff3b-5e2a-91e6-c43443ae78c2
changelog
mysql
mysql
8021
37
MASTER TO`](/doc/refman/8.0/en/change-master-to.html) statement to clear any user credentials previously set for the `group_replication_recovery` channel. (WL #13768) * **Group Replication:** The minimum setting for the maximum size for the XCom message cache in Group Replication, specified by the [`group...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
f568a402-63a8-5210-b178-381f4cd5cf9c
changelog
mysql
mysql
8021
38
good network connectivity. Having a very low [`group_replication_message_cache_size`](/doc/refman/8.0/en/group-replication-system-variables.html#sysvar_group_replication_message_cache_size) setting is not recommended if the host is on an unstable network, because a smaller message cache makes it harder for gr...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
6c1946b8-7962-5cd8-ae0e-7a1c54765a4b
changelog
mysql
mysql
8021
39
[`group_replication_member_expel_timeout`](/doc/refman/8.0/en/group-replication-system-variables.html#sysvar_group_replication_member_expel_timeout) system variable). With this default setting the XCom message cache therefore now needs to store the messages exchanged by the group in a 10-second period (the expe...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
a58f7040-01e4-5543-bb22-4d93df18215c
changelog
mysql
mysql
8021
40
[`group_replication_member_expel_timeout`](/doc/refman/8.0/en/group-replication-system-variables.html#sysvar_group_replication_member_expel_timeout) defaulted to 0, meaning that a suspected member was liable for expulsion immediately after the 5-second detection period ended. Following user feedback, the waitin...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
c5477f1d-ddb9-59ee-8f76-85f58ab0b393
changelog
mysql
mysql
8021
41
[`group_replication_message_cache_size`](/doc/refman/8.0/en/group-replication-system-variables.html#sysvar_group_replication_message_cache_size) setting to account for the new expel timeout, which doubles the default time to 10 seconds. With the new default expel timeout you might start to see warning messages ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
6835d547-0727-5fda-8afa-6c9c2f43d784
changelog
mysql
mysql
8021
42
system variable, which is available from MySQL 8.0.16, makes a member that has been expelled or reached its unreachable majority timeout try to rejoin the group automatically. This system variable, which originally defaulted to 0 so auto-rejoin was not activated, now defaults to 3, meaning that a member mak...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
d472a762-2f00-5ad8-868a-6352ec0d9002
changelog
mysql
mysql
8021
43
between auto-rejoin attempts, a member remains in super read only mode and does not accept writes. However, reads can still be made on the member, with an increasing likelihood of stale reads over time. If you want to intervene to take the member offline, the member can be stopped manually at any time by usin...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
b9ef58f2-bbfb-5117-b141-8308a64a4957
changelog
mysql
mysql
8021
44
did not ignore spaces around storage engines listed in the option value. Spaces around engine names are now ignored. (Bug #31373361, Bug #99632) * The new `HANDLE_FATAL_SIGNALS` **CMake** option enables configuring whether Address Sanitizer and Undefined Behavior Sanitizer builds use the sanitizer runtime l...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
25b9638c-4209-573c-a0a4-ebf6ebdc3476
changelog
mysql
mysql
8021
45
change again in the future or such queries may become illegal. (Bug #30921780, Bug #98663) * **comp\_err** provides better error messages for certain input file issues. Thanks to Facebook for the contribution. (Bug #30810629, Bug #98390) * MySQL Server Docker containers now support server restart within a c...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
bb4c7dca-31a7-5077-b6c9-f287ce40b8a4
changelog
mysql
mysql
8021
46
`TREE` is the only supported format. (Bug #30315224) * [`ALTER INSTANCE ROTATE INNODB MASTER KEY`](/doc/refman/8.0/en/alter-instance.html#alter-instance-rotate-innodb-master-key) is no longer permitted when [`read_only`](/doc/refman/8.0/en/server-system-variables.html#sysvar_read_only) or [`super_read_only`](...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
70422e56-7685-5063-9d56-4120c54cece7
changelog
mysql
mysql
8021
47
For more information, see [Atomic Data Definition Statement Support](/doc/refman/8.0/en/atomic-ddl.html). (Bug #11756034, Bug #47899, WL #13355) * [`LOAD XML`](/doc/refman/8.0/en/load-xml.html) now supports `CDATA` sections in the XML file to be imported. (Bug #98199, Bug #30753708) * X Plugin's [`mysqlx_bind...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
2073a3e9-f22b-5065-8363-b70f81e785f4
changelog
mysql
mysql
8021
48
is skipped, an error message is logged, and X Plugin attempts to bind to each of the remaining addresses. X Plugin's [`Mysqlx_address`](/doc/refman/8.0/en/x-plugin-status-variables.html#statvar_Mysqlx_address) status variable displays only those addresses from the list for which the bind succeeded. If none of...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
dcb2c4e4-07db-5e5a-a17f-d0d51b61e009
changelog
mysql
mysql
8021
49
tables, columns, indexes, and tablespaces, are reserved for future use. The following [`INFORMATION_SCHEMA`](/doc/refman/8.0/en/information-schema.html) tables were added for querying storage engine attributes for tables, columns, indexes, and tablespaces. Values are stored in the data dictionary. The tabl...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
a3d059ef-1fc7-5402-afc9-1cb8ef96bc78
changelog
mysql
mysql
8021
50
lifecycle events for Group Replication that were non-error situations, such as a group membership change. Messages about significant events for a replication group have now been reclassified as system messages, so they always appear in the server error log regardless of the server logging level. Operators c...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
c4fc6924-cbbd-57bf-aea0-3f9278f9a2fb
changelog
mysql
mysql
8021
51
* **InnoDB:** Code that was accessed when undo tablespace truncation used the same space ID before and after a truncate operation was removed. That scenario no longer occurs. The truncated undo tablespace is replaced by a new undo tablespace datafile with a different space ID. (Bug #31354435) * **InnoDB:** ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
fc00fd77-ce39-5840-aee1-2b14ffb7359b
changelog
mysql
mysql
8021
52
A shutdown error occurred following an attempt to rebuild a discarded partition. (Bug #31215415) * **InnoDB:** The internal `get_real_path()` function, responsible for retrieving directory or a file path, was modified to strip trailing separators before determining if a path is a file or directory. Additi...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
e84af385-e362-5271-bc3b-f68474cbdfc0
changelog
mysql
mysql
8021
53
The transaction read view was not checked when sampling records for generation of histogram statistics. (Bug #31151077) * **InnoDB:** An I/O completion routine was not able acquire an LRU list mutex due to a latch held by another thread. (Bug #31128739) * **InnoDB:** An attachable transaction thread reque...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
4d9a711b-ee4c-548c-8e04-de6a271ae3a9
changelog
mysql
mysql
8021
54
tablespace truncate operation, some rollback segment header pages were found to be corrupted. Encryption of rollback segment header pages was initiated while the header pages were being written, resulting in some header pages not being encrypted, as expected. (Bug #31045160) * **InnoDB:** Various aspects ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
6ee319ee-abc8-5f2f-bf7e-8cbc43aa068a
changelog
mysql
mysql
8021
55
caused a performance degradation. (Bug #30952983, Bug #98739) * **InnoDB:** In debug mode, a [`DROP TABLE`](/doc/refman/8.0/en/drop-table.html) operation on a table with an incorrectly defined `COMPRESSION` clause caused a failure. `InnoDB` did not return an error to the caller for proper handling. (Bug...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
c785fc22-ad61-5a39-978d-9199d6491784
changelog
mysql
mysql
8021
56
IMPORT TABLESPACE`](/doc/refman/8.0/en/alter-table.html) operation with a `.cfg` file failed with an “Incorrect key file for table” error. The `row_import::m_flags` member was not initialized. (Bug #30830441) * **InnoDB:** A [`DROP TABLE`](/doc/refman/8.0/en/drop-table.html) operation performed after di...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
de0fef3e-3d0c-5bef-ba29-20ad6931d1c3
changelog
mysql
mysql
8021
57
An [`ALTER TABLE`](/doc/refman/8.0/en/alter-table.html) operation that copied data from one table to another returned an “Out of range value for column” error. The counter that tracks the number of `AUTO_INCREMENT` rows required for a multi-row insert operation was not always set back to zero after a bulk i...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
108b680e-e73b-532d-9a63-3edb0b0092cb
changelog
mysql
mysql
8021
58
A purge operation encountered a null LOB reference, causing an assertion failure. (Bug #30658887) * **InnoDB:** Chunk size was not calculated correctly when deallocating memory from the `TempTable` storage engine, causing a regression in `SELECT DISTINCT` query performance. (Bug #30562964) * **InnoDB:**...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
1dfe3a8f-8397-5d2e-8be5-64140d15f6b5
changelog
mysql
mysql
8021
59
References: This issue is a regression of: Bug #29207450. * **Partitioning:** A query against a partitioned table, which used an `ORDER BY`, returned unordered results under the following conditions: + The table had a composite index with a prefix on one of the columns. + The query's `WHERE` clause con...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
91229fa5-8876-5867-a856-5d4772b46d1c
changelog
mysql
mysql
8021
60
primary failover is now registered differently to avoid this situation. (Bug #31175066, Bug #98643) * **Replication:** When a replication source server shuts down and restarts, its [`MEMORY`](/doc/refman/8.0/en/memory-storage-engine.html) tables become empty. To replicate this effect to replicas, the first ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
dcfacb22-f7a4-51da-9ddf-4cc01b85afe1
changelog
mysql
mysql
8021
61
the GTID intended for the transaction that triggered it. The generated [`DELETE`](/doc/refman/8.0/en/delete.html) statement is now logged with accompanying `BEGIN` and `COMMIT` statements, and the resulting transaction is flushed to the binary log immediately after it is written to the statement cache, so t...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
6b5cd5ea-b322-59d5-83c1-b5627f41b1a8
changelog
mysql
mysql
8021
62
triggers are now marked as unsafe for binary logging in statement format, as they have a strong chance of causing issues with replication. When [`binlog_format = MIXED`](/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_format) is set, these operations are now logged in row format. (Bug #...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
dbe22ea7-e588-5262-8a38-87950729101d
changelog
mysql
mysql
8021
63
(Bug #29719364, Bug #95181) References: See also: Bug #28511326, Bug #91941. * **Replication:** If a [`CHANGE MASTER TO`](/doc/refman/8.0/en/change-master-to.html) statement was issued with `MASTER_USER` specified as empty (`MASTER_USER=''`), the statement succeeded and cleared any previously specified use...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
ed6d38df-705c-5a69-ad19-9468856df476
changelog
mysql
mysql
8021
64
channel always needs operator intervention to restart, but the user credentials are not recorded in the replication metadata repositories. The documentation for the [`CHANGE MASTER TO`](/doc/refman/8.0/en/change-master-to.html) statement has also been corrected to clarify that it is possible to specify `MA...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
1546ba58-bea5-51e5-b67c-0850229cca7d
changelog
mysql
mysql
8021
65
[`group_replication_consistency`](/doc/refman/8.0/en/group-replication-system-variables.html#sysvar_group_replication_consistency) as an error, for example when checking the clone plugin status during distributed recovery. Such internal connections using the SQL API now use consistency level `EVENTUAL`, which...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
b7b70fdb-c611-509d-a1c2-3009eb625e8d
changelog
mysql
mysql
8021
66
of two clock functions to calculate the timeout after which the SleepConditionVariableCS function was called, which drifted relative to each other over time, making the timeout progressively shorter and the calls to the function more frequent. The issue has been corrected on Windows by using the current tim...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
fa7ae893-a43f-544d-9097-c320a02b6db6
changelog
mysql
mysql
8021
67
the server, that flag caused Group Replication to purge the relay log files for the `group_replication_applier` channel, as is required on starting after a remote cloning operation to ensure that there is no mismatch with the cloned data tables. If there were any unapplied transactions in the purged relay l...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
555cff43-eb8b-59d0-be7a-c84d3ce839d1
changelog
mysql
mysql
8021
68
(GCS) treated the connection to the old incarnation of a server as active while it was attempting to send messages to the server, and only recognized that the connection was inactive when the socket returned an error, which might take a significant amount of time. During that period, the new incarnation of ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
4079a752-424d-5821-878d-d312c9d8b726
changelog
mysql
mysql
8021
69
Group Replication did not broadcast a notification when switching from single-primary mode to multi-primary mode. The change is now notified for use in routing. (Bug #30738896) * **Group Replication:** Setting the [`group_replication_force_members`](/doc/refman/8.0/en/group-replication-system-variables.html...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
86904abb-ff1d-53a0-b285-69a392a381ee
changelog
mysql
mysql
8021
70
member where the system variable had been set, because the expel timeout that was set on the member had expired, the operation timed out and failed to complete. To avoid this situation, Group Replication now proceeds directly to implementing the new configuration specified by the [`group_replication_force_m...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
acb6d334-44e2-5598-a4b4-e062384df1a5
changelog
mysql
mysql
8021
71
not reaching member B. Member B would display member A's status as `UNREACHABLE`. Now, if a group member starts to receive pings from another group member to which it has an active connection (in this case, if member A received pings from member B), this is treated as an indicator of an issue with the conne...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
87ae22fe-f2f0-5bfd-bebd-985a8bea624c
changelog
mysql
mysql
8021
72
mysql> CREATE TABLE test (id INT, col JSON); mysql> INSERT INTO test VALUES (1, '{"val":true}'), (2, '{"val":false}'); mysql> SELECT id, col, col->"$.val" FROM test WHERE col->"$.val" IS TRUE; +------+---------------+--------------+ | id | col | col->"$.val" | +------+---------------+---------...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
575d7952-9ef3-5c9f-8e54-755151d2f11f
changelog
mysql
mysql
8021
73
mysql> SELECT id, col, col->"$.val" FROM test WHERE col->"$.val" IS TRUE; +------+----------------+--------------+ | id | col | col->"$.val" | +------+----------------+--------------+ | 1 | {"val": true} | true | | 2 | {"val": false} | false | +------+----------------+--...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
45d0bffa-e527-5a47-859b-189cdd1524b3
changelog
mysql
mysql
8021
74
| 1 | {"val": true} | true | +------+---------------+--------------+ ``` (Bug #31168181) * **JSON:** A `GROUP BY` query against a table having a multi-valued index was not always handled correctly by the server. (Bug #31152942) * If [`log_error_services`](/doc/refman/8.0/en/server-system-var...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
32ee0f47-9d46-57d9-946b-d3d9ee74013e
changelog
mysql
mysql
8021
75
* The parser incorrectly raised an assertion before rejecting subqueries in generated column expressions. (Bug #31396191) * This release makes the following two micro-optimizations for degenerate hash joins (that is, those with no join conditions): 1. For a degenerate hash antijoin or semijoin, add `LIMIT...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
d90341cf-c036-513d-abc2-ed86b7251034
changelog
mysql
mysql
8021
76
* Configuring with [`-DWITH_EDITLINE=system`](/doc/refman/8.0/en/source-configuration-options.html#option_cmake_with_editline) resulted in compilation failures for older library versions. (Bug #31366715) * The upgrade of the bundled `libedit` library in the previous MySQL distribution caused a problem for build...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
831c5346-74ef-5519-b3fc-c0e3fad17767
changelog
mysql
mysql
8021
77
* A lookup function used internally in the MySQL server returns integer -1 when the argument is ambiguous; this resulted in undefined behavior when this value was converted to an unsigned value prior to use as an argument in subsequent calculations. Now when the function returns -1, this is handled as an error ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
25181dd0-6566-58a5-b97c-4e466c89ad14
changelog
mysql
mysql
8021
78
the variable to `NULL`, not the empty string. (Bug #31320716, Bug #99485, Bug #31413167, Bug #99722) * Corrected problems where under some circumstances privilege restrictions could be ignored. (Bug #31306814, Bug #31315692) * Certain [`SELECT`](/doc/refman/8.0/en/select.html) statement privileges to lock row...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
17d91507-9c93-5d0f-8a24-97c77d4ecd11
changelog
mysql
mysql
8021
79
connections on the main connection interface. (Bug #31241872) * When a role was granted with `WITH ADMIN OPTION`, the grantee was able to manage the role only after activating it. (Bug #31237368) * Invalid rows in the `default_roles` or `role_edges` system tables could cause server misbehavior. (Bug #31...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
c539011d-dbc3-5842-a6eb-ffce1d1f525c
changelog
mysql
mysql
8021
80
(Bug #31204841) * The `keyring_hashicorp` keyring plugin did not permit an encryption password to be set by the `audit_log` plugin. (Bug #31197670) * Some queries using [`REGEXP_SUBSTR()`](/doc/refman/8.0/en/regexp.html#function_regexp-substr) with an `ORDER BY` clause were not handled correctly by the se...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
3dd664a9-3fe1-578a-99f3-d8d44c693891
changelog
mysql
mysql
8021
81
[`mysql_close()`](/doc/c-api/8.0/en/mysql-close.html). (Bug #31104389, Bug #99112) * For Debian packages, Python 2 dependencies that could cause installation failures were removed. (Bug #31099324) * A potential memory leak in `lf_hash_insert()` was fixed. (Bug #31090258, Bug #99078) * Within the LDAP SASL a...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
705fffa6-0b96-5849-bebd-d7c25a4a4cb6
changelog
mysql
mysql
8021
82
* Removed an unneeded optimization for `EXISTS()` that was never actually evaluated. (Bug #31069510) * For a server started with the [`--skip-grant-tables`](/doc/refman/8.0/en/server-options.html#option_mysqld_skip-grant-tables) option, enabling the [`partial_revokes`](/doc/refman/8.0/en/server-system-variables...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
891067f9-e952-5447-84d1-d81b4f3e1de4
changelog
mysql
mysql
8021
83
blocked if the `MYSQL_OPT_CONNECT_TIMEOUT` option was set. (Bug #31049390, Bug #98980) * The last call to the [`mysql_fetch_row_nonblocking()`](/doc/c-api/8.0/en/mysql-fetch-row-nonblocking.html) C API function to return the null row was setting an error when it should not have. (Bug #31048553, Bug #98947...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
f7fa4910-a6e8-5499-b1ef-8179648a1e5f
changelog
mysql
mysql
8021
84
* Pinbox exhaustion in the metadata locking subsystem could produce a misleading error message. (Bug #31019269, Bug #98911) * [`CREATE TABLE ... SELECT`](/doc/refman/8.0/en/create-table-select.html) failed if it included a functional index. (Bug #31017765, Bug #98896) * For X Protocol connections, checking th...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
720c70e4-32be-5ea1-bb1d-623b0cc9af1a
changelog
mysql
mysql
8021
85
[`SHOW COLUMNS`](/doc/refman/8.0/en/show-columns.html) performance. These checks were reduced to improve performance. In addition, several [`SHOW`](/doc/refman/8.0/en/show.html) statements implemented as `INFORMATION_SCHEMA` queries were found to benefit from enabling the [`derived_merge`](/doc/refman/8.0/...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
99ff156c-3db6-516e-9445-f29bb30170f1
changelog
mysql
mysql
8021
86
row when using a case-sensitive collation and two rows with a case-insensitive collation. When the same two predicates were combined in a single query using `AND`, two rows were returned when only one row should have been. (Bug #30961924) * [`ALTER TABLE`](/doc/refman/8.0/en/alter-table.html) on a [`SET`](/...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
e3cfb200-b7c6-5514-9801-060dbecfb533
changelog
mysql
mysql
8021
87
* [`SHOW GRANTS`](/doc/refman/8.0/en/show-grants.html) could display function privileges as procedure privileges. (Bug #30896461, Bug #98570) * The `audit_log` plugin mishandled connection events when multiple clients connected simultaneously. (Bug #30893593) * The `LOCK_ORDER` tool reported a syntax error fo...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
d3925dc3-a8ff-5855-bac4-233277062ac7
changelog
mysql
mysql
8021
88
`InnoDB` could result in a key-length error. (Bug #30674616) * Attempts to grant dynamic privileges (which are always global) at the procedure or function level did not produce an error. (Bug #30628160) * Table value constructors ignored the `LIMIT` clause. The clause is now taken into account. For example: ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
3b414c26-d778-5104-b8ba-1d942f483f6d
changelog
mysql
mysql
8021
89
table to `MyISAM` (not a recommended operation in any case) caused a server exit. Now this operation is prohibited. (Bug #30248138, Bug #96692) * Queries on the `INFORMATION_SCHEMA` [`KEY_COLUMN_USAGE`](/doc/refman/8.0/en/information-schema-key-column-usage-table.html) and [`TABLE_CONSTRAINTS`](/doc/refman/...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
19634509-5f62-57b8-9d92-7f17f5494c9d
changelog
mysql
mysql
8021
90
* Calculations by **mysqldump** for the length of [`INSERT`](/doc/refman/8.0/en/insert.html) statements did not take into account the `_binary` character set introducer used for [`VARBINARY`](/doc/refman/8.0/en/binary-varbinary.html) strings. (Bug #29998457, Bug #96053) * The messages printed to the error log...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
9fe53c31-fd6b-5adb-b39e-edc1bb2392c7
changelog
mysql
mysql
8021
91
(Bug #29770237) * The server permitted connections for hosts with names longer than the maximum permitted length (255 characters). (Bug #29704941) * In a multiple-table [`UPDATE`](/doc/refman/8.0/en/update.html) that updated the key of the first table, if a temporary table strategy was used, duplicate entries...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
a62177b2-79db-58e7-84ca-f705c8286ebf
changelog
mysql
mysql
8021
92
* When a multi-table update used a temporary table, this was not shown in the output of [`EXPLAIN FORMAT=TREE`](/doc/refman/8.0/en/explain.html), even though such use could have an impact on the performance of the [`UPDATE`](/doc/refman/8.0/en/update.html) statement for which this was done. (Bug #17978975) ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
2435873f-ff34-5802-93f6-718cd7cc6f1c
changelog
mysql
mysql
8021
93
to be copied. In a `GROUP BY` without a temporary table, this would cause the `NULL` flag to come from the next output row instead of the previous one, and the data returned to be inconsistent. (Bug #99398, Bug #31252625) References: This issue is a regression of: Bug #30460528. * A logical error in the co...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
ca2fa5b2-f54b-5f28-bc61-0ed1b82d2fb0
changelog
mysql
mysql
8021
94
`GROUP BY` of the form `GROUP BY a, b, a WITH ROLLUP` erroneously produced `NULL` for some of the column names in the result. + A `GROUP BY ... WITH ROLLUP` that did not require a temporary table to print the result also produced an erroneous `NULL` in place of at least one of the expected...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
7682cba0-5066-50d5-a90a-859bffc2d76e
changelog
mysql
mysql
8021
95
iterations even when an error should have caused it to terminate immediately. (Bug #98242, Bug #30769515) * After refactoring the type propagation code for [`LEAST()`](/doc/refman/8.0/en/comparison-operators.html#function_least), [`GREATEST()`](/doc/refman/8.0/en/comparison-operators.html#function_greatest), ...
large_dataset/raw/changelog/mysql_releases/mysql_8021.md
3e4299e2-41cc-54a8-892a-364d498aeb2e
changelog
mysql
mysql
8022
0
# MySQL 8.0.22 Release Notes Source: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-22.html Version: 8.0.22 ## Changes in MySQL 8.0.22 (2020-10-19, General Availability) For general information about upgrades, downgrades, platform support, etc., please visit [https://dev.mysql.com/doc/relnotes/mysql/8.0/en...
large_dataset/raw/changelog/mysql_releases/mysql_8022.md
c66acd2e-d6c3-5a74-aa47-7b4289343943
changelog
mysql
mysql
8022
1
* [Optimizer Notes](news-8-0-22.html#mysqld-8-0-22-optimizer "Optimizer Notes") * [Packaging Notes](news-8-0-22.html#mysqld-8-0-22-packaging "Packaging Notes") * [Performance Schema Notes](news-8-0-22.html#mysqld-8-0-22-performance-schema "Performance Schema Notes") * [Pluggable Authentication](news-8-0-22.html#mysqld-...
large_dataset/raw/changelog/mysql_releases/mysql_8022.md
5049f889-7278-54b1-af69-7a31b07d41e1
changelog
mysql
mysql
8022
2
[`SYSTEM_USER`](/doc/refman/8.0/en/privileges-provided.html#priv_system-user) privilege. (Bug #31255458) * For the [`CREATE USER`](/doc/refman/8.0/en/create-user.html), [`DROP USER`](/doc/refman/8.0/en/drop-user.html), and [`RENAME USER`](/doc/refman/8.0/en/rename-user.html) account-management statements, the...
large_dataset/raw/changelog/mysql_releases/mysql_8022.md
4df04b7a-d692-5569-9afc-59cee9121c3c
changelog
mysql
mysql
8022
3
### Audit Log Notes * For JSON-format log files, MySQL Enterprise Audit supports log-reading operations using the [`audit_log_read()`](/doc/refman/8.0/en/audit-log-reference.html#function_audit-log-read) user-defined function. Previously, specifying the position at which to begin reading was possible only by p...
large_dataset/raw/changelog/mysql_releases/mysql_8022.md