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 |
|---|---|---|---|---|---|---|---|
6a4734cb-d9db-5b7d-bb0d-0717a9f71044 | changelog | mysql | mysql | 8022 | 4 | [`mysql_real_connect()`](/doc/c-api/8.0/en/mysql-real-connect.html) but uses a
DNS SRV record to determine the candidate hosts for establishing
a connection to a MySQL server, rather than explicit host, port,
and socket arguments.
Applications that use the C API can call the new function
directly. In addit... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
a135b205-e1de-5294-803b-a3176ec1b3e5 | changelog | mysql | mysql | 8022 | 5 | ### Compilation Notes
* On Windows, Visual Studio 2019 Update 4 is now the minimum
version for MySQL compilation.
(Bug #31655401)
* The minimum version of the Boost library for server builds is
now 1.73.0.
(Bug #31309800)
### Configuration Notes
* The new [`WITH_TCMALLOC`](/doc/refman/8.0/en/source-configura... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
fe7e2292-d13a-5095-ad68-3807bc9d39ef | changelog | mysql | mysql | 8022 | 6 | the debug sections of binary executables (Linux only).
Compressing executable debug sections saves space at the cost of
extra CPU time during the build process. The default is
`OFF`. If this option is not set explicitly but
the `COMPRESS_DEBUG_SECTIONS` environment
variable is set, the option takes its valu... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
de5a719e-8ba6-58de-9f8a-1381d971d9c2 | changelog | mysql | mysql | 8022 | 7 | [`mysqlx_bind_address`](/doc/refman/8.0/en/x-plugin-options-system-variables.html#sysvar_mysqlx_bind_address) system
variables have extended syntax for specifying the network
namespace to use for a given IP address or host name on
which to listen for incoming connections.
+ For client connections, the... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
48aac0e4-f3b0-54c8-a54e-09b5814cffd2 | changelog | mysql | mysql | 8022 | 8 | [Replication Metadata Repositories](/doc/refman/8.0/en/replica-logs-status.html)), and the
[`SHOW
REPLICA | SLAVE STATUS`](/doc/refman/8.0/en/show-replica-status.html) statement have a new column
that displays the applicable network namespace for connections.
For more information, including the host system p... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
d1821798-7491-549b-aaed-ec7d84766708 | changelog | mysql | mysql | 8022 | 9 | have been set to a user-defined value, the value of
`group_replication_ip_allowlist` is used.
(WL #14175)
* From MySQL 8.0.22, the statements `START
SLAVE`, `STOP SLAVE`, `SHOW
SLAVE STATUS`, `SHOW SLAVE HOSTS` and
`RESET SLAVE` are deprecated. The following
aliases should be used instead:
+ Instead of... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
ed770299-bc7b-5d76-b72d-480ca7924c41 | changelog | mysql | mysql | 8022 | 10 | `Com_replica_stop`
+ `Com_show_slave_status` is equivalent to
`Com_show_replica_status`
+ `Com_show_slave_hosts` is equivalent to
`Com_show_replicas`
(WL #14171)
* The InnoDB memcached plugin is deprecated and support for it
will be removed in a future MySQL version.
(WL #14131)
* The [`INFORMATI... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
bd4d6627-d11a-5043-9188-a19da3fdde5a | changelog | mysql | mysql | 8022 | 11 | All keys are stored in Oracle Cloud Infrastructure Vault, making this plugin well
suited for Oracle Cloud Infrastructure MySQL customers for management of their MySQL Enterprise Edition
keys. For more information, see [The MySQL Keyring](/doc/refman/8.0/en/keyring.html).
(WL #9770)
### Optimizer Notes
* **Imp... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
207d9492-afff-5229-a449-c1e719f44f14 | changelog | mysql | mysql | 8022 | 12 | + A parameter used in a prepared statement has its data type
determined when the statement is prepared, and the type
persists for each subsequent execution of the statement,
unless the statement is reprepared (see
[PREPARE Statement](/doc/refman/8.0/en/prepare.html), for information about when this
... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
4830fa0b-d6cb-527f-91a9-7d8b4787fc0b | changelog | mysql | mysql | 8022 | 13 | [`NTILE(NULL)`](/doc/refman/8.0/en/window-function-descriptions.html#function_ntile),
[`NTH_VALUE(expr,
NULL)`](/doc/refman/8.0/en/window-function-descriptions.html#function_nth-value),
[`LEAD(expr,
nn)`](/doc/refman/8.0/en/window-function-descriptions.html#function_lead), and
[`LAG(expr,
nn... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
2346bdfc-e420-55a6-b27b-36e0e84d16f8 | changelog | mysql | mysql | 8022 | 14 | available to determine the parameter type, the server
assumes the parameter is a character string with the default
character set, not a binary string. Parameters for which
this is incorrect may be placed within a
[`CAST()`](/doc/refman/8.0/en/cast-functions.html#function_cast) expression.
See [PR... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
d6d1899a-ede0-57ba-b8af-f0e68b7c59d9 | changelog | mysql | mysql | 8022 | 15 | + a user-defined variable
+ a local variable in a stored routine
In addition, this argument is no longer permitted to be
`NULL`. See the descriptions of the functions
just referenced for more information.
(Bug #48612, Bug #99601, Bug #100150, Bug #105166, Bug #11756670, Bug #23599127, Bug #31119132, Bug #3... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
894f5482-1cb4-5799-af00-d18804549083 | changelog | mysql | mysql | 8022 | 16 | reversals at parse time, so that after parsing, a `RIGHT
JOIN` is in fact, in all respects, a `LEFT
JOIN`.
(Bug #30887665, Bug #30964002, WL #6509)
References: See also: Bug #12567331, Bug #21350125.
* Added support for periodic synchronization when writing to files
with [`SELECT INTO
DUMPFILE`](/doc/ref... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
cfcd2428-e286-5b1d-bba2-5084a03a65f5 | changelog | mysql | mysql | 8022 | 17 | system variable; the default behaviour is not to allow any delay
(that is, a delay time of 0 milliseconds).
For more information, see the descriptions of the system
variables referenced previously.
Our thanks to Facebook for this contribution to MySQL 8.0.
(Bug #30284861, WL #13926)
* MySQL now implements... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
29335015-b009-5c80-a7d7-aea3c39d5d2d | changelog | mysql | mysql | 8022 | 18 | the outer `WHERE` condition down to the derived
table can reduce the number of rows that need to be processed,
which should improve the query's performance.
An outer `WHERE` condition can be pushed down
directly to a materialized derived table when the derived table
uses no aggregate or window functions. I... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
39119004-1a40-5dd8-a6bb-8337c4b7d1d7 | changelog | mysql | mysql | 8022 | 19 | [`derived_condition_pushdown`](/doc/refman/8.0/en/switchable-optimizations.html#optflag_derived-condition-pushdown)
flag (added in this release) must be set to
`on`. This is the default setting. If this
optimization is disabled by the optimizer switch setting, you
can enable it for a specific query using the
... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
1c6d9ec6-5fac-549e-b8b8-d526e52a823b | changelog | mysql | mysql | 8022 | 20 | ### Packaging Notes
* For RPM and Debian packages, client-side plugins were moved to
their own client-plugins package.
(Bug #31584093)
* The `VERSION` file in MySQL source
distributions is now named `MYSQL_VERSION`
due to a naming conflict with Boost.
(Bug #31466846)
* For platforms on which MySQL is built w... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
282fc02e-1e0c-5b65-841a-68833b157529 | changelog | mysql | mysql | 8022 | 21 | An alternative [`SHOW PROCESSLIST`](/doc/refman/8.0/en/show-processlist.html)
implementation is now available based on the new Performance
Schema [`processlist`](/doc/refman/8.0/en/performance-schema-processlist-table.html) table. This
implementation queries active thread data from the Performance
Schema rath... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
170b1075-fc78-50a2-95c9-8394507a1239 | changelog | mysql | mysql | 8022 | 22 | + To ensure that the default and alternative implementations
yield the same information, certain configuration
requirements must be met; see
[The processlist Table](/doc/refman/8.0/en/performance-schema-processlist-table.html).
(WL #9090)
* An SQL interface to the most recent events written to the MySQ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
4e5f48d4-b90e-53bd-81f7-ef9ad04bddad | changelog | mysql | mysql | 8022 | 23 | [The error\_log Table](/doc/refman/8.0/en/performance-schema-error-log-table.html).
(WL #13681)
### Pluggable Authentication
* These changes were made for the LDAP authentication plugins:
+ For the SASL LDAP authentication plugin, the
`SCRAM-SHA-1` authentication method is not
supported on On SLES 12 a... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
0b7be8f7-f98e-5053-9247-29c3d909bd52 | changelog | mysql | mysql | 8022 | 24 | plugin detects this case and reinitializes the connection
pool and (for the SASL LDAP plugin) the SASL challenge is
resent.
(Bug #31664270, Bug #31219323)
### SQL Syntax Notes
* The parser now supports parenthesized query expressions using
this syntax:
```None
( query_expression )
[order_by_... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
35d0097a-647a-5793-8b6a-1b0a9749675d | changelog | mysql | mysql | 8022 | 25 | of one or more zeroes (following possible truncation) is
converted to the year 2000. Casting adds 2000 to values in the
range 1-69 inclusive, and 1900 to values in the range 70-99
inclusive.
Strings beginning with one, two, or four digits followed by at
least one non-digit character (and possibly other dig... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
c9915165-1ab5-5f5a-af48-129c724f897d | changelog | mysql | mysql | 8022 | 26 | what is expected; `CAST("13:47" AS YEAR)`
returns 2013 due to truncation of the string value, and
`CAST(TIME "13:47" AS YEAR)` returns 2020 as of
the year of this release.
Casting of [`GEOMETRY`](/doc/refman/8.0/en/spatial-type-overview.html) values to
`YEAR` is not supported. A cast of an
incompatible t... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
bc29e474-6389-5478-88b6-8693daf5641a | changelog | mysql | mysql | 8022 | 27 | zone to a UTC [`DATETIME`](/doc/refman/8.0/en/datetime.html) when
retrieving it, using the `AT TIME ZONE`
operator which is implemented for the `CAST()`
function in this release.
The syntax is `CAST(value AT
TIME ZONE specifier AS
DATETIME[(precision)])`,
where the *`value`* is a
`TIMESTAMP`, and the... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
d56341bf-7385-56fc-a26e-07f8dd7588d7 | changelog | mysql | mysql | 8022 | 28 | A brief example is shown here:
```None
mysql> SELECT @@system_time_zone;
+--------------------+
| @@system_time_zone |
+--------------------+
| EDT |
+--------------------+
1 row in set (0.00 sec)
mysql> CREATE TABLE ex (ts TIMESTAMP);
Query OK, 0 rows affected (0.81 sec)
mysql... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
6d7190ee-1e78-5584-9d50-cc93611e00fe | changelog | mysql | mysql | 8022 | 29 | | 2020-08-01 01:44:30 | 2020-08-01 05:44:30 |
+---------------------+---------------------+
2 rows in set (0.00 sec)
```
For more information and examples, see the description of the
[`CAST()`](/doc/refman/8.0/en/cast-functions.html#function_cast) function in the
*MySQL Manual*.
(WL #12535)
### X Plug... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
b19a38f9-1b3f-5c48-ae48-7322a10ee3b6 | changelog | mysql | mysql | 8022 | 30 | asynchronous connection failover mechanism can be used to keep a
replica synchronized with multiple MySQL servers or groups of
servers that share data. To activate asynchronous connection
failover for a replication channel set
`SOURCE_CONNECTION_AUTO_FAILOVER=1` on the
`CHANGE MASTER TO` statement for the c... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
c70dc811-408e-5b9b-8a5a-fe514833566f | changelog | mysql | mysql | 8022 | 31 | frequently. As of MySQL 8.0.22, you can disable
[`innodb_extend_and_initialize`](/doc/refman/8.0/en/innodb-parameters.html#sysvar_innodb_extend_and_initialize) on
Linux systems to avoid physically writing NULLs to newly
allocated tablespace pages. When
[`innodb_extend_and_initialize`](/doc/refman/8.0/en/innod... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
a3594e78-494b-5c64-9b62-eac9d172b044 | changelog | mysql | mysql | 8022 | 32 | from the redo log record during recovery.
(WL #13782)
* To permit concurrent DML and DDL operations on MySQL grant
tables, read operations that previously acquired row locks on
MySQL grant tables are now executed as non-locking reads. The
operations that are now performed as non-locking reads on MySQL
grant... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
ce7d8a5c-e869-52b3-9bf5-bed448d7d3fd | changelog | mysql | mysql | 8022 | 33 | -[`binlog_format=mixed`](/doc/refman/8.0/en/replication-options-binary-log.html#sysvar_binlog_format), DML
operations that read data from grant tables are now written to
the binary log as row events to make the operations safe for
mixed-mode replication.
[`SELECT ...
FOR SHARE`](/doc/refman/8.0/en/innodb-l... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
3d12a2ae-a6e6-59e1-bbec-61bbad45c91d | changelog | mysql | mysql | 8022 | 34 | database for which `READ ONLY` is enabled can
be migrated to another MySQL instance without concern that the
database might be changed during the operation. See
[ALTER DATABASE Statement](/doc/refman/8.0/en/alter-database.html).
A new `INFORMATION_SCHEMA` table named
[`SCHEMATA_EXTENSIONS`](/doc/refman/8.0... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
cd53ef07-ea05-5109-b7f8-9be87febfbd4 | changelog | mysql | mysql | 8022 | 35 | The `TTASEventMutex::exit` function was
optimized for ARM64. Thanks to Krunal Bauskar for the
contribution.
(Bug #31589019, Bug #100132)
* **InnoDB:**
`InnoDB` failed to compile with the
`DISABLE_PSI_RWLOCK` CMake option
enabled.
(Bug #31578289)
* **InnoDB:**
The transaction isolation level, which is ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
06603aa3-ac6a-5a6f-ad04-b911937ea6dc | changelog | mysql | mysql | 8022 | 36 | A build dependency on the Boost library defined for the
TempTable storage engine was removed.
(Bug #31505048)
* **InnoDB:**
A workaround was implemented to handle a Clang compiler issue in
32-bit builds that causes the
`ATOMIC_LLONG_LOCK_FREE` value to be defined as
“sometimes lock-free” while
`__atomic... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
381dfb07-61c7-53a1-8abf-ee2f17e2b955 | changelog | mysql | mysql | 8022 | 37 | read interface.
(Bug #31429385)
* **InnoDB:**
A master key rotation operation failed to skip an undo
tablespace that was already truncated, which lead to an
assertion failure when shutting down the server.
(Bug #31400195)
* **InnoDB:**
After importing a tablespace for a page-compressed table, pages
were... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
da2633f5-55cc-5a1a-81b0-31d5b19b7e38 | changelog | mysql | mysql | 8022 | 38 | * **InnoDB:**
DDL operations on a partitioned table could cause a failure.
`TABLE_SHARE` and table instance objects were
opened for all partitions unnecessarily.
(Bug #31365127)
* **InnoDB:**
After changing a [`VARCHAR`](/doc/refman/8.0/en/char.html) column
collation from `utf8mb4` to
`utf8mb4_bin` in an ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
5b7d083b-9fad-558c-82ef-1a83c02c7c9f | changelog | mysql | mysql | 8022 | 39 | compressed table failed with a Page decompress failed
after reading from disk error. The decryption
operation did not use the encryption block size used during
encryption. Also, the encryption process did not consider
compressed length, while the decryption process decrypts data by
compressed length only.
... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
e4bd26bc-4b65-5937-84fd-faf15c7f4f51 | changelog | mysql | mysql | 8022 | 40 | Failure to call a buffer pool page I/O completion routine
resulted in orphan buffer pool I/O write pages.
(Bug #31073853)
* **InnoDB:**
Numerous system temporary table pages at the tail of the buffer
pool flush list caused a performance degradation. The
`flush_list_mutex` was held while the flush
list sca... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
2fab3c30-7893-54fb-8d0e-ec0de39c3a2c | changelog | mysql | mysql | 8022 | 41 | Parallel read threads failed to respond to an explicit
transaction interruption.
(Bug #31016076)
* **InnoDB:**
In session started with `START TRANSACTION WITH
CONSISTENT SNAPSHOT`, a range query returned a
truncated result. The end range flag was not reset at the
beginning of the index read resulting in a... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
25a017f2-5c44-5823-b95c-ee2ca7644dae | changelog | mysql | mysql | 8022 | 42 | properly handle latches taken during B-tree mini-transaction
(`btr_mtr`) commit and restore operations,
which could lead to conflicts between B-tree and LOB
mini-transactions.
(Bug #30620011)
* **InnoDB:**
A long running statistics calculation operation on a large table
blocked other operations requiring ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
97bb9cae-7b86-56ce-8638-464112d6c6f1 | changelog | mysql | mysql | 8022 | 43 | yet rolled back. Assertion code was revised to ignore recovered
transactions during a fast shutdown. Messages are now written to
the error log when recovered transactions that are not rolled
back are left behind by a fast shutdown. Slow shutdown now waits
for recovered transactions to be rolled back. Various ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
8c2d4700-af2f-59c2-b3a8-f46d63cb55e6 | changelog | mysql | mysql | 8022 | 44 | optimizations were implemented, including the removal of an
unnecessary log closer thread that wasted CPU time, and
optimizations to remedy too-aggressive checkpoint activity and
excessive flush calls. The issues addressed by this fix also
manifested in a `LOAD DATA`
performance regression.
(Bug #30088404... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
7a794f93-4c04-5eeb-af00-3231a3bf67cf | changelog | mysql | mysql | 8022 | 45 | Added a `client-plugins` RPM that was separated
from the `client` package. It contains shared
plugins for MySQL client applications.
(Bug #35162346)
* **Replication:**
You can now set the value of the
[`gtid_purged`](/doc/refman/8.0/en/replication-options-gtids.html#sysvar_gtid_purged) system variable in
... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
6e8e71ae-525a-5ecd-a06f-f345d63aaaa8 | changelog | mysql | mysql | 8022 | 46 | [`DELETE`](/doc/refman/8.0/en/delete.html) statement, but it is now a
[`TRUNCATE TABLE`](/doc/refman/8.0/en/truncate-table.html) statement. A
replica server also writes this statement to its own binary log
when it shuts down and restarts. The statement is always logged
in statement format, even if the binary ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
1439f0ae-f1b0-50ea-af4a-b7a1e3868bbd | changelog | mysql | mysql | 8022 | 47 | worker threads on a multithreaded replica. Thanks to Facebook
for the contribution.
(Bug #29049207, Bug #92964)
* **Replication:**
When using row-based replication, the replica was allowed to use
an invisible index when searching for rows to synchronize.
(Bug #96148, Bug #30072179)
* **Group Replication:**
... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
8c487521-36c2-5a16-b960-6297471b3037 | changelog | mysql | mysql | 8022 | 48 | joining member when identifying the common set of transactions
that had been applied on all members. This meant that garbage
collection for applied transactions from the group's set of
certification information (shown as the
`count_transactions_rows_validating` field in
the Performance Schema table
[`repl... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
88d22b83-a367-5387-9440-7820811b8cba | changelog | mysql | mysql | 8022 | 49 | state after distributed recovery, its certification information
is updated with the certification information from the donor at
the time when the member joined, and garbage collection takes
place for this on future rounds.
As a workaround for this issue in earlier releases, after the
remote cloning operati... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
79fcec3c-4b58-5512-9aa9-5244eaab6ac9 | changelog | mysql | mysql | 8022 | 50 | Replication error management and member status handling has now
been corrected to prevent this situation.
(Bug #31401797)
* **Microsoft Windows:**
On Windows, build targets could fail if the build was on a file
system root, such as `R:/`.
(Bug #31315467)
* **JSON:**
[`JSON_OBJECT()`](/doc/refman/8.0/en/js... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
04695afc-bf5b-522a-9293-4f24ef8c409e | changelog | mysql | mysql | 8022 | 51 | adjustments were made to avoid this problem.
(Bug #31782612)
References: This issue is a regression of: Bug #31123564, Bug #31336340.
* The timestamp written for the `ts` key by the
`log_sink_json` JSON-format error log sink did
not have the same value as other timestamps in the same log
message.
(Bug #3... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
759b7b55-0f74-5781-85cc-2aa2b8adc857 | changelog | mysql | mysql | 8022 | 52 | (Bug #31661437)
* During transformation of a grouped query into a derived table,
when the `WHERE` clause and the
`HAVING` clause became part of the derived
table, the condition count was not updated for the derived
table. This resulted in reduced memory allocation while creating
keys for `ref` access.
(Bu... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
11f607f2-7fe7-55c5-8662-bd83225502d3 | changelog | mysql | mysql | 8022 | 53 | released. Error reporting issues related to plugin mismatches
and availability were also addressed.
(Bug #31639732, Bug #100244)
* In debug builds, the server attempted to evaluate subqueries
while creating a view.
(Bug #31590301)
References: This issue is a regression of: Bug #25466100.
* A condition usin... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
2a3453ff-ffd5-5b57-b641-24e7dfede6cd | changelog | mysql | mysql | 8022 | 54 | inspection revealing that this was not done after replacing the
columns in the condition with the derived table expressions.
(Bug #31587493)
* A query using `WHERE column
> (... IN (SELECT ...))` could sometimes trigger an
assertion in the range optimizer.
(Bug #31586906)
References: This issue is a regr... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
f031b4bc-1fbe-5500-8d0c-5012b040e08f | changelog | mysql | mysql | 8022 | 55 | For example, a [`SELECT`](/doc/refman/8.0/en/select.html) with
`FOR UPDATE` requests a write lock, but after
cloning the handler for an index merge scan, the range optimizer
requested a read lock which resulted in a mismatch. Similarly,
for data dictionary tables, the lock type was set to
`LOCK_NONE` due to... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
14757f15-09c9-5420-a07a-d245d6dae8ef | changelog | mysql | mysql | 8022 | 56 | into a [`BIT(64)`](/doc/refman/8.0/en/bit-type.html) column, but not
retrieved.
(Bug #31564742, Bug #100053)
* While removing an unused window definition, a subquery that was
part of an `ORDER BY` was not removed. The
optimizer then tried to optimize the subquery without locking
the tables. Now, when removi... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
a8acf32e-21d7-5744-9935-2e4f295e9406 | changelog | mysql | mysql | 8022 | 57 | `DISTINCT`.
(Bug #31498664, Bug #99900)
* MySQL's internal `DYNAMIC_STRING` class
formerly allocated memory in a linear fashion, that is, by a
predetermined number of bytes. The class has been revised such
that it now allocates memory exponentially, which should make
operations such as repeated string appen... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
58a8a2fa-6d22-58a7-a231-e8277e9326f5 | changelog | mysql | mysql | 8022 | 58 | * The server attempted to delete from a view whose definition
included `HAVING` when the
`HAVING` clause was constant and evaluated as
true even though a view with `HAVING` as part
of its definition should not be updatable.
(Bug #31429865)
* Privilege requirements were checked incorrectly for the
[`INFORMAT... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
eda23037-bc43-5f77-b1de-cf02f00a170e | changelog | mysql | mysql | 8022 | 59 | statements could fail for inserts through a view.
(Bug #31417951)
* [`JSON`](/doc/refman/8.0/en/json.html) scalar evaluation could
enter an infinite loop.
(Bug #31406724)
* The `user_attributes` column in
`mysql.user` table rows could be affected
incorrectly by partial revokes.
(Bug #31405985)
* Improper ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
28d190ea-a98f-5ae3-bab9-6738d447d33c | changelog | mysql | mysql | 8022 | 60 | * Killing a query could raise spurious assertions in the hash join
iterator.
(Bug #31361354)
* In some cases, an outer reference that was not
`LATERAL` was not marked as read-only as
expected.
(Bug #31359965)
* A failure occurred when upgrading from MySQL 5.7 to MySQL 8.0
due to invalid references to orphan... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
c8a92eab-cb5c-555c-88c2-0cb28d9075cc | changelog | mysql | mysql | 8022 | 61 | (Bug #31330789, Bug #99513)
* The LDAP authentication plugins did not properly compare the
user-supplied authentication method against the permitted
methods.
(Bug #31320532)
* Certain views could cause a following
[`USE`](/doc/refman/8.0/en/use.html) statement to result in an
unexpected server exit.
(Bug ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
d2859375-90c9-5d02-8e5b-47fc2d355a85 | changelog | mysql | mysql | 8022 | 62 | available from that row. If the row contains no usable indexes,
a table scan may be chosen instead. For the query giving rise to
this issue, a table scan is chosen once, followed by a range
scan on a non-covering index, and the dynamic range iterator has
two read sets which are used for both these cases. One ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
8768ed1e-91bb-5333-b645-4d1c6554e6a5 | changelog | mysql | mysql | 8022 | 63 | (Bug #31280526)
References: This issue is a regression of: Bug #30417361.
* It was possible to insert an out-of-range value for a
[`TIMESTAMP`](/doc/refman/8.0/en/datetime.html) if it included a
timezone offset.
(Bug #31239157)
* The `keyring_hashicorp` keyring plugin did not
limit the size of keys for key... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
5d7096fe-9502-5a3b-ab31-082bf233053f | changelog | mysql | mysql | 8022 | 64 | [`TRUNCATE()`](/doc/refman/8.0/en/mathematical-functions.html#function_truncate) did not return the
data type of their first arguments as expected. This fix insures
that return types from these functions follow these rules, where
the first argument is of the type shown:
+ For any integer type, the return typ... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
00652084-505b-5d31-9ca4-c5613c10b28a | changelog | mysql | mysql | 8022 | 65 | extended by one place to accomodate rounding that increases
the number of significant digits. If the second argument is
negative, the return type is adjusted such that its scale is
0, with a corresponding precision.
For more information, see the description of the
[`ROUND()`](/doc/refman/8.0/en/mat... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
5557b959-3e06-58b0-913d-b71eb0ac8275 | changelog | mysql | mysql | 8022 | 66 | subquery having a `LIMIT` clause and requiring
a row other than the first, which caused the
`LIMIT` clause to be ignored and invalid rows
to be returned. Now, when `LIMIT` used with
this type of join specifies a row other than the first row, or
more than one row, the semijoin strategy is no longer employed.... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
903eeabf-5dbc-50e2-a8fb-4b8df9c266a6 | changelog | mysql | mysql | 8022 | 67 | handled correctly.
(Bug #31072198)
* Date interval calculations checked for overflow but not
underflow. Now they check for both.
(Bug #31054071)
* If an XA prepared transaction rollback XID was incorrectly
formatted, the transaction remained in recovered state for
[`XA COMMIT`](/doc/refman/8.0/en/xa.html) a... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
d13b7630-e186-5afa-901e-c83e543043ab | changelog | mysql | mysql | 8022 | 68 | * [`OPTIMIZE TABLE`](/doc/refman/8.0/en/optimize-table.html) for
`MyISAM` tables could cause table size to
increase and query performance to decrease.
[`REPAIR TABLE`](/doc/refman/8.0/en/repair-table.html) for
`MyISAM` tables could cause the `Table
is already up to date` status produced by a previous
[`OPTI... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
9015f939-ba64-523d-994c-d5c17a7bf432 | changelog | mysql | mysql | 8022 | 69 | * Comparison of a [`TIME`](/doc/refman/8.0/en/time.html) value with
`NULL` in some cases raised an assertion.
(Bug #30324587)
References: This issue is a regression of: Bug #25949639.
* LDAP authentication plugins enforced CA verification
incorrectly, which could result in use of an incorrect CA.
(Bug #30220... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
12284054-817d-520f-8a57-2745fa5534d5 | changelog | mysql | mysql | 8022 | 70 | [`explicit_defaults_for_timestamp`](/doc/refman/8.0/en/server-system-variables.html#sysvar_explicit_defaults_for_timestamp)
was disabled and a `NULL` was inserted into a
generated column declared as
[`TIMESTAMP`](/doc/refman/8.0/en/datetime.html) `NOT
NULL`, the server would attempt to convert the inserted
... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
f11c17ca-065f-5e4b-9950-3778e013feed | changelog | mysql | mysql | 8022 | 71 | `NULL`.
(Bug #27265863)
* In some cases, incorrect use of [`IS
NULL`](/doc/refman/8.0/en/comparison-operators.html#operator_is-null) generated multiple warnings about invalid
arguments.
(Bug #27264652)
* Resolving an `ORDER BY` column that referred to
a [`SELECT`](/doc/refman/8.0/en/select.html) list column... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
a2d94321-923e-53c8-8421-d431029d86b8 | changelog | mysql | mysql | 8022 | 72 | default values but failed for views:
```None
INSERT INTO name () VALUES ();
```
(Bug #15988466, Bug #67863)
* In some cases, the server issued an error when an invisible
index was used in an index hint even when the
[`use_invisible_indexes`](/doc/refman/8.0/en/switchable-optimizations.html#optflag_use-i... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
3d62bbcd-286b-51a3-98bd-18ec8ac09d1b | changelog | mysql | mysql | 8022 | 73 | that triggered the reported issue, a column named
`id` of type [`INT`](/doc/refman/8.0/en/integer-types.html)
was tested using `id NOT IN (-0.1, 0.1)`, and
the values being tested are rounded to integers, with the
predicate thus being treated as `NOT IN (0,0)`.
The optimizer then treats this as the interval... | large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
f39a5b27-6373-512a-91c0-30b7595bf771 | changelog | mysql | mysql | 8022 | 74 | offending [`UPDATE`](/doc/refman/8.0/en/update.html) statement.
(Bug #80655, Bug #22891840)
| large_dataset/raw/changelog/mysql_releases/mysql_8022.md |
e0db36cb-01c8-5f23-be49-da511ea09d62 | changelog | mysql | mysql | 8023 | 0 | # MySQL 8.0.23 Release Notes
Source: https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-23.html
Version: 8.0.23
## Changes in MySQL 8.0.23 (2021-01-18, General Availability)
This release adds support for macOS 11 (Big Sur).
* [Account Management Notes](news-8-0-23.html#mysqld-8-0-23-account-management "Accoun... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
c3609a49-66c5-51ba-b2cc-1274d67c8fe0 | changelog | mysql | mysql | 8023 | 1 | * [Pluggable Authentication](news-8-0-23.html#mysqld-8-0-23-pluggable-auth "Pluggable Authentication")
* [Security Notes](news-8-0-23.html#mysqld-8-0-23-security "Security Notes")
* [Spatial Data Support](news-8-0-23.html#mysqld-8-0-23-spatial-support "Spatial Data Support")
* [SQL Syntax Notes](news-8-0-23.html#mysqld... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
a2e833f7-e00e-5b15-a013-7baa1229f341 | changelog | mysql | mysql | 8023 | 2 | more closely to the operations permitted, these new privileges
of more limited scope are available:
+ [`FLUSH_OPTIMIZER_COSTS`](/doc/refman/8.0/en/privileges-provided.html#priv_flush-optimizer-costs):
Enables use of the [`FLUSH
OPTIMIZER_COSTS`](/doc/refman/8.0/en/flush.html#flush-optimizer-costs) statem... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
0896d115-1509-5f15-8eb8-2c0d0d7c379c | changelog | mysql | mysql | 8023 | 3 | information, see [Privileges Provided by MySQL](/doc/refman/8.0/en/privileges-provided.html), and
[FLUSH Statement](/doc/refman/8.0/en/flush.html).
The [`mysql_refresh()`](/doc/c-api/8.0/en/mysql-refresh.html) C API
function performs operations similar to those of various
[`FLUSH`](/doc/refman/8.0/en/flush.h... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
9ff35e92-f147-5aaa-9789-945cf5d97972 | changelog | mysql | mysql | 8023 | 4 | [`mysql_bind_param()`](/doc/c-api/8.0/en/mysql-bind-param.html) C API
function enables defining query attributes. These attributes
apply to the next SQL statement sent to the server for
execution. Additionally, the **mysql** and
**mysqltest** clients have a
`query_attributes` command that enable... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
d54c84a7-105e-538b-9f26-feddf3e876dd | changelog | mysql | mysql | 8023 | 5 | code, although it was not used).
(Bug #27855905, Bug #28686334, WL #12542)
### Compilation Notes
* Thanks to Tzachi Zidenberg, who contributed a patch for
compiling MySQL on aarch64 (ARM64).
(Bug #31815236, Bug #100664)
### Connection Management Notes
* Selection of the account that matches incoming TCP cli... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
10fc2f63-dca5-58d7-96c5-1666d3271ee2 | changelog | mysql | mysql | 8023 | 6 | should be used instead. The parameters for the statement also
have aliases that replace the term `MASTER`
with the term `SOURCE`. For example,
`MASTER_HOST` and
`MASTER_PORT` can now be entered as
`SOURCE_HOST` and
`SOURCE_PORT`. The
[`START REPLICA |
SLAVE`](/doc/refman/8.0/en/start-replica.html) sta... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
ed7c1003-0c9b-5cc1-991b-19f7dfe53568 | changelog | mysql | mysql | 8023 | 7 | REPLICATION SOURCE TO`](/doc/refman/8.0/en/change-replication-source-to.html) statements in the query log. The
same is done for the statements `START SLAVE`,
`STOP SLAVE`, `SHOW SLAVE
STATUS`, `SHOW SLAVE HOSTS` and
`RESET SLAVE`. The event name for the
[`CHANGE MASTER TO`](/doc/refman/8.0/en/change-master-... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
0762420d-4c5e-5c26-8d7f-15670162dae1 | changelog | mysql | mysql | 8023 | 8 | future MySQL version. These system variables were used to
specify whether the replica’s connection metadata repository
and applier metadata repository were written to an
`InnoDB` table in the mysql system database, or
to a file in the data directory. The `FILE`
setting was already deprecated in a previous r... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
7b96f04c-37a8-5877-a295-dba0314c8021 | changelog | mysql | mysql | 8023 | 9 | + Execute a **mysqladmin flush-hosts** command.
This requires the [`RELOAD`](/doc/refman/8.0/en/privileges-provided.html#priv_reload)
privilege.
Although those methods are equivalent in effect, granting the
[`RELOAD`](/doc/refman/8.0/en/privileges-provided.html#priv_reload) privilege enables a number
o... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
edea389a-210d-5d57-bbf6-77a392ee948a | changelog | mysql | mysql | 8023 | 10 | [`FLUSH HOSTS`](/doc/refman/8.0/en/flush.html#flush-hosts) statement. Now it
attempts to truncate the `host_cache` table,
falling back to [`FLUSH HOSTS`](/doc/refman/8.0/en/flush.html#flush-hosts) only
if the truncate operation fails.
(WL #14329)
### Firewall Notes
* Administrators perform MySQL Enterprise ... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
ca1462a8-1953-5478-a1e3-61d52c587eef | changelog | mysql | mysql | 8023 | 11 | allowlist applies to all member accounts, eliminating the
need to duplicate it across multiple account profiles.
For more information, see [MySQL Enterprise Firewall](/doc/refman/8.0/en/firewall.html).
(WL #11740)
### Optimizer Notes
* Switched the hash table used for hash joins from an unordered
multi... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
14182815-36c9-504c-974d-00a84f934389 | changelog | mysql | mysql | 8023 | 12 | making it possible to free old memory when the hash table
grows
(Bug #99933, Bug #31516149, WL #13459)
### Performance Schema Notes
* Performance Schema macros that previously expanded to dynamic
calls now expand to static calls when possible to reduce
processing overhead.
(Bug #32028160)
* Performan... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
4755f97b-4317-5ebf-b4ad-3aaca7e61f46 | changelog | mysql | mysql | 8023 | 13 | (WL #14180)
### Security Notes
* For platforms on which OpenSSL libraries are bundled, the linked
OpenSSL library for MySQL Server has been updated to version
1.1.1i. Issues fixed in the new OpenSSL version are described at
<https://www.openssl.org/news/cl111.txt> and
<https://www.openssl.org/news/vulnerabi... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
ec59e42a-5e45-5bba-b92f-ef700f31866a | changelog | mysql | mysql | 8023 | 14 | ### SQL Syntax Notes
* MySQL now supports invisible columns, which normally are hidden
to queries, but can be accessed if explicitly referenced. See
[Invisible Columns](/doc/refman/8.0/en/invisible-columns.html).
(WL #10905)
### X Plugin Notes
* For X Protocol connections using the `MYSQL41`
authentication m... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
1083df25-552f-56e2-82be-c8348e8a0cfa | changelog | mysql | mysql | 8023 | 15 | * If an X Protocol client with a connection to a server remains
idle (not sending to the server) for longer than the relevant
X Plugin timeout setting (read, write, or wait timeout),
X Plugin closes the connection. In the case of a read timeout,
the plugin returns a warning notice with the error code
ER\_IO\_... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
3e80ab99-6f2f-5bbb-ae01-f98c76824039 | changelog | mysql | mysql | 8023 | 16 | Client applications can use the warning notices to display to
users, or to analyze the reason for disconnection and decide
whether to attempt reconnection to the same server, or to a
different server.
(WL #14166)
* For classic MySQL protocol, if an SQL query is using metadata locking
or the sleep function, ... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
a623135a-9a09-5c67-a1f0-3ef5d81696a7 | changelog | mysql | mysql | 8023 | 17 | The pages of dropped or truncated tablespaces and associated AHI
entries are now removed from the buffer pool passively as pages
are encountered during normal operations. Previously, dropping
or truncating tablespaces initiated a full list scan to remove
pages from the buffer pool immediately, which negativel... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
32a450de-9fae-5de5-8bc5-5b1639a60a18 | changelog | mysql | mysql | 8023 | 18 | [`ALTER TABLESPACE`](/doc/refman/8.0/en/alter-tablespace.html) statements. For
more information, see
[Tablespace AUTOEXTEND\_SIZE Configuration](/doc/refman/8.0/en/innodb-tablespace-autoextend-size.html).
An `AUTOEXTEND_SIZE` size column was added to
the
[`INFORMATION_SCHEMA.INNODB_TABLESPACES`](/doc/refma... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
254bb9d0-75d1-5d3c-be1c-607bffd7c0d4 | changelog | mysql | mysql | 8023 | 19 | between primary and secondary servers. When you add a group
member to the source list and define it as part of a managed
group, the asynchronous connection failover mechanism updates
the source list to keep it in line with membership changes,
adding and removing group members automatically as they join or
l... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
b66a7e33-0d7f-5f4f-a584-6cdc03395cfb | changelog | mysql | mysql | 8023 | 20 | primary and a lower weight to a secondary, when the primary
changes, the higher weight is assigned to the new primary, so
the replica changes over the connection to it. This also applies
to single (non- managed) servers, so the connection for a single
server is also now failed over if another source server is... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
dc42435c-6d11-5b90-940d-7fe8f475ae00 | changelog | mysql | mysql | 8023 | 21 | [`INFORMATION_SCHEMA.COLUMNS`](/doc/refman/8.0/en/information-schema-columns-table.html) table
and [`SHOW COLUMNS`](/doc/refman/8.0/en/show-columns.html) statement now
display the expression.
(Bug #31856459)
* For a multithreaded replica (where
[`slave_parallel_workers`](/doc/refman/8.0/en/replication-options... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
afa54677-0c47-5d35-9341-a681197ca1ca | changelog | mysql | mysql | 8023 | 22 | [`slave_transaction_retries`](/doc/refman/8.0/en/replication-options-replica.html#sysvar_slave_transaction_retries)
before stopping with an error. Transactions with a non-temporary
error are not retried.
The replication applier on a multithreaded replica has always
handled data access deadlocks that were ide... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
6dcea177-c84a-5bb0-8067-8940dea99af9 | changelog | mysql | mysql | 8023 | 23 | initiates automatic retries for the transaction, rather than
hanging. If the retries are exhausted, replication stops in a
controlled manner so that the deadlock can be resolved manually.
(Bug #107574, Bug #34291887, WL #13574)
* CRC calculations for binlog checksums are faster on ARM
platforms. Thanks to Kru... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
11f2d37d-01b5-53b7-8258-80776f355fea | changelog | mysql | mysql | 8023 | 24 | Note that a replica set up with
`ASSIGN_GTIDS_TO_ANONYMOUS_TRANSACTIONS` on any
channel cannot be promoted to replace the replication source
server in the event that a failover is required, and a backup
taken from the replica cannot be used to restore the replication
source server. The same restriction appl... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
72df37e3-d0da-5682-8001-0055b0017a21 | changelog | mysql | mysql | 8023 | 25 | setting of 0 disables allocation of memory from memory-mapped
temporary files. For more information, see
[Internal Temporary Table Use in MySQL](/doc/refman/8.0/en/internal-temporary-tables.html).
(WL #14125)
### Bugs Fixed
* **InnoDB:**
A [`CREATE TABLE`](/doc/refman/8.0/en/create-table.html) operation tha... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
3ce16609-54a4-534f-9e5b-326532cdd372 | changelog | mysql | mysql | 8023 | 26 | source code structures were reduced in size.
(Bug #32084500)
* **InnoDB:**
An [`InnoDB`](/doc/refman/8.0/en/innodb-storage-engine.html) transaction became
inconsistent after creating a table using a storage engine other
than `InnoDB` from a query expression that
operated on `InnoDB` tables.
(Bug #32079103... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
7aaf439f-5a7f-5acf-81c1-47bc4747b829 | changelog | mysql | mysql | 8023 | 27 | (Bug #32018553)
* **InnoDB:**
A `SELECT COUNT(*)` operation on a table
containing uncommitted data performed poorly due to unnecessary
I/O.
Thanks to Brian Yue for the contribution.
(Bug #31997733, Bug #100966)
* **InnoDB:**
A race condition when shutting down the log writer raised an
assertion failure... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
4cc454ec-446f-5707-806f-73c6c5855964 | changelog | mysql | mysql | 8023 | 28 | tablespace was selected for truncation. The code that modified
the setting has been removed.
(Bug #31991688)
* **InnoDB:**
Automated truncation of undo tablespaces caused a performance
regression. To address this issue, undo tablespace files are now
initialized at 16MB and extended by a minimum of 16MB. To ... | large_dataset/raw/changelog/mysql_releases/mysql_8023.md |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.