Table of Contents
This appendix lists the changes from version to version in MySQL Enterprise, including MySQL Enterprise Server. Releases in MySQL Enterprise Server are divided into the following release packs:
Rapid Update Service Packs are issued once a month and incorporate all the bug fixes and security updates introduced since the previous MySQL Enterprise Server release. A single Service Pack can be used to update MySQL Enterprise Server; it is not necessary to install intervening service packs to bring your system up to date.
Quarterly Service Packs are issued each quarter and incorporate all the bug fixes and security updates introduced since the previous MySQL Enterprise Server release. A single Service Pack can be used to update MySQL Enterprise Server; it is not necessary to install intervening service packs to bring your system up to date.
Hot-fix releases incorporate fixes for bugs that caused significant issues that are not released as part of a Service Pack.
The Release Notes are updated as bugs are fixed and features are incorporated, so that everybody can follow the development process.
Note that we tend to update the manual at the same time we make changes to MySQL. If you find a recent version of MySQL listed here that you can't find on our download page (http://dev.mysql.com/downloads/), it means that the version has not yet been released (and will normally be marked so in the appropriate Release Note section).
The date mentioned with a release version is the date of the last change done internally at MySQL AB (the BitKeeper ChangeSet) on which the release was based, not the date when the packages were made available. The binaries are usually made available a few days after the date of the tagged ChangeSet, because building and testing all packages takes some time.
For information on how to determine your current version and release type, see Section 2.2, “Determining your current MySQL version”.
This section documents all changes and bug fixes, beginning with the first MySQL Enterprise Server release (5.0.28), that are made available through hot-fixes, and through service packs.
For a full list of changes, please refer to the changelog sections for each individual 5.0.x release.
This is a Monthly Rapid Update release of the MySQL Enterprise Server 5.0.
This section documents all changes and bug fixes that have been applied since the last MySQL Enterprise Server release (5.0.40).
Bugs fixed:
Security fix: Use of a view could allow a user to gain update privileges for tables in other databases. (Bug#27878)
Security fix: If a stored
routine was declared using SQL SECURITY
INVOKER, a user who invoked the routine could gain
privileges. (Bug#27337)
Security fix: The requirement
of the DROP privilege for RENAME
TABLE was not being enforced. (Bug#27515)
NDB Cluster: INSERT
IGNORE wrongly ignored NULL
values in unique indexes. (Bug#27980)
NDB Cluster: The name of the month
“March” was given incorrectly in the cluster
error log. (Bug#27926)
NDB Cluster (APIs): For
BLOB reads on operations with lock mode
LM_CommittedRead, the lock mode was not
upgraded to LM_Read before the state of the
BLOB had already been calculated. The
NDB API methods affected by this problem
included the following:
NdbOperation::readTuple()
NdbScanOperation::readTuples()
NdbIndexScanOperation::readTuples()
NDB Cluster: The cluster waited 30 seconds
instead of 30 milliseconds before reading table statistics.
(Bug#28093)
NDB Cluster: Under certain rare
circumstances, ndbd could get caught in an
infinite loop when one transaction took a read lock and then a
second transaction attempted to obtain a write lock on the
same tuple in the lock queue. (Bug#28073)
NDB Cluster: Under some circumstances, a
node restart could fail to update the Global Checkpoint Index
(GCI). (Bug#28023)
NDB Cluster: It was not possible to add a
unique index to an NDB table while in
single user mode. (Bug#27710)
The server could hang for INSERT IGNORE ... ON
DUPLICATE KEY UPDATE if an update failed. (Bug#28000)
Quoted labels in stored routines were mishandled, rendering the routines unusable. (Bug#21513)
Changes to some system variables should invalidate statements in the query cache, but invalidation did not happen. (Bug#27792)
Flow control optimization in stored routines could cause exception handlers to never return or execute incorrect logic. (Bug#26977)
An attempt to execute CREATE TABLE ...
SELECT when a temporary table with the same name
already existed led to the insertion of data into the
temporary table and creation of an empty non-temporary table.
(Bug#24508)
Concurrent execution of CREATE TABLE ...
SELECT and other statements involving the target
table suffered from various race conditions, some of which
might have led to deadlocks. (Bug#24738)
CREATE TABLE IF NOT EXISTS ... SELECT
caused a server crash if the target table already existed and
had a BEFORE INSERT trigger. (Bug#20903)
Deadlock occurred for attempts to execute CREATE
TABLE IF NOT EXISTS ... SELECT when LOCK
TABLES had been used to acquire a read lock on the
target table. (Bug#20662)
CAST() to DECIMAL did
not check for overflow. (Bug#27957)
Views ignored precision for CAST()
operations. (Bug#27921)
For InnoDB, in some rare cases the
optimizer preferred a more expensive ref
access to a less expensive range access. (Bug#28189)
A query with a NOT IN subquery predicate
could cause a crash when the left operand of the predicate
evaluated to NULL. (Bug#28375)
The fix for Bug#17212 provided correct sort order for misordered output of certain queries, but caused significant overall query performance degradation. (Results were correct (good), but returned much more slowly (bad).) The fix also affected performance of queries for which results were correct. The performance degradation has been addressed. (Bug#27531)
For INSERT ... ON DUPLICATE KEY UPDATE
statements that affected many rows, updates could be applied
to the wrong rows. (Bug#27954)
Comparisons of DATE or
DATETIME values for the
IN() function could yield incorrect
results. (Bug#28133)
LOAD DATA did not use
CURRENT_TIMESTAMP as the default value for
a TIMESTAMP column for which no value was
provided. (Bug#27670)
On Windows, connection handlers did not properly decrement the server's thread count when exiting. (Bug#25621)
SELECT COUNT(*) from a table containing a
DATETIME NOT NULL column could produce
spurious warnings with the NO_ZERO_DATE SQL
mode enabled. (Bug#22824)
Nested aggregate functions could be improperly evaluated. (Bug#27363)
Using CAST() to convert
DATETIME values to numeric values did not
work. (Bug#23656)
Early NULL-filtering optimization did not
work for eq_ref table access. (Bug#27939)
Non-grouped columns were allowed by * in
ONLY_FULL_GROUP_BY SQL mode. (Bug#27874)
Debug builds on Windows generated false alarms about uninitialized variables with some Visual Studio runtime libraries. (Bug#27811)
mysqld did not check the length of option values and could crash with a buffer overflow for long values. (Bug#27715)
Index hints (USE INDEX, IGNORE
INDEX, FORCE INDEX) cannot be
used with FULLTEXT indexes, but were not
being ignored. (Bug#25951)
mysql_upgrade did not detect failure of external commands that it runs. (Bug#26639)
mysql_upgrade did not pass a password to mysqlcheck if one was given. (Bug#25452)
On Windows, mysql_upgrade was sensitive to lettercase of the names of some required components. (Bug#25405)
The result set of a query that used WITH
ROLLUP and DISTINCT could lack
some rollup rows (rows with NULL values for
grouping attributes) if the GROUP BY list
contained constant expressions. (Bug#24856)
Some upgrade problems are detected and better error messages suggesting that mysql_upgrade be run are produced. (Bug#24248)
A performance degradation was observed for outer join queries to which a not-exists optimization was applied. (Bug#28188)
SELECT * INTO OUTFILE ... FROM
INFORMATION_SCHEMA.schemata failed with an
Access denied error, even for a user who
has the FILE privilege. (Bug#28181)
Certain queries that used uncorrelated scalar subqueries
caused EXPLAIN to to crash. (Bug#27807)
INSERT...ON DUPLICATE KEY UPDATE could
cause Error 1032: Can't find record in ...
for inserts into an InnoDB table unique
index using key column prefixes with an underlying
utf8 string column. (Bug#13191)
On Linux, the server could not create temporary tables if
lower_case_table_names was set to 1 and the
value of tmpdir was a directory name
containing any uppercase letters. (Bug#27653)
A slave that used --master-ssl-cipher could
not connect to the master. (Bug#21611)
mysqldump crashed if it got no data from
SHOW CREATE PROCEDURE (for example, when
trying to dump a routine defined by a different user and for
which the current user had no privileges). Now it prints a
comment to indicate the problem. It also returns an error, or
continues if the --force option is given.
(Bug#27293)
Several math functions produced incorrect results for large
unsigned values. ROUND() produced incorrect
results or a crash for a large number-of-decimals argument.
(Bug#24912)
For storage engines that allow the current auto-increment
value to be set, using ALTER TABLE ...
ENGINE to convert a table from one such storage
engine to another caused loss of the current value. (For
storage engines that do not support setting the value, it
cannot be retained anyway when changing the storage engine.)
(Bug#25262)
Comparison of a DATE with a
DATETIME did not treat the
DATE as having a time part of
00:00:00. (Bug#27590)
A multiple-table UPDATE could return an
incorrect rows-matched value if, during insertion of rows into
a temporary table, the table had to be converted from a
MEMORY table to a MyISAM
table. (Bug#22364)
The omission of leading zeros in dates could lead to erroneous results when these were compared with the output of certain date and time functions. (Bug#16377)
If CREATE TABLE t1 LIKE t2 failed due to a
full disk, an empty t2.frm file could be
created but not removed. This file then caused subsequent
attempts to create a table named t2 to
fail. This is easily corrected at the filesystem level by
removing the t2.frm file manually, but
now the server removes the file if the create operation does
not complete successfully. (Bug#25761)
The MERGE storage engine could return
incorrect results when several index values that compare
equality were present in an index (for example,
'gross' and
'gross ', which are considered equal
but have different lengths). (Bug#24342)
For InnoDB tables, a multiple-row
INSERT of the form INSERT INTO t
(id...) VALUES (NULL...) ON DUPLICATE KEY UPDATE
id=VALUES(id), where id is an
AUTO_INCREMENT column, could cause
ERROR 1062 (23000): Duplicate entry...
errors or lost rows. (Bug#27650)
mysql_install_db is supposed to detect existing system tables and create only those that do not exist. Instead, it was exiting with an error if tables already existed. (Bug#27783)
Failure to allocate memory associated with
transaction_prealloc_size could cause a
server crash. (Bug#27322)
Aborting a statement on the master that applied to a non-transactional statement broke replication. The statement was written to the binary log but not completely executed on the master. Slaves receiving the statement executed it completely, resulting in loss of data synchrony. Now an error code is written to the error log so that the slaves stop without executing the aborted statement. (That is, replication stops, but synchrony to the point of the stop is preserved and you can investigate the problem.) (Bug#26551)
The AUTO_INCREMENT value would not be
correctly reported for InnoDB tables when using SHOW
CREATE TABLE statement or
mysqldump command. (Bug#23313)
Creating a temporary table with InnoDB when using the
one-file-per-table setting, when the host filesystem for
temporary tables is tmpfs would cause an
assertion within mysqld. This was due to
the use of O_DIRECT when opening the
temporary table file. (Bug#26662)
An interaction between SHOW TABLE STATUS
and other concurrent statements that modify the table could
result in a divide-by-zero error and a server crash. (Bug#27516)
mysqldump could not connect using SSL. (Bug#27669)
yaSSL crashed on pre-Pentium Intel CPUs. (Bug#21765)
Comparisons using row constructors could fail for rows
containing NULL values. (Bug#27704)
Performing a UNION on two views that had
had ORDER BY clauses resulted in an
Unknown column error. (Bug#27786)
The CRC32() function returns an unsigned
integer, but the metadata was signed, which could cause
certain queries to return incorrect results. (For example,
queries that selected a CRC32() value and
used that value in the GROUP BY clause.)
(Bug#27530)
A race condition between DROP TABLE and
SHOW TABLE STATUS could cause the latter to
display incorrect information. (Bug#27499)
mysqldump would not dump a view for which
the DEFINER no longer exists. (Bug#26817)
Changing a utf8 column in an
InnoDB table to a shorter length did not
shorten the data values. (Bug#20095)
The server did not shut down cleanly. (Bug#27310)
Using SET GLOBAL to change the
lc_time_names system variable had no effect
on new connections. (Bug#22648)
The XML output representing an empty result was an empty
string rather than an empty
<resultset/> element. (Bug#27608)
mysqlbinlog produced different output with
the -R option than without it. (Bug#27171)
A stored function invocation in the WHERE
clause was treated as a constant. (Bug#27354)
For queries that used ORDER BY with
InnoDB tables, if the optimizer chose an
index for accessing the table but found a covering index that
enabled the ORDER BY to be skipped, no
results were returned. (Bug#24778)
Having the EXECUTE privilege for a routine
in a database should make it possible to
USE that database, but the server returned
an error instead. This has been corrected. As a result of the
change, SHOW TABLES for a database in which
you have only the EXECUTE privilege returns
an empty set rather than an error. (Bug#9504)
Some views could not be created even when the user had the requisite privileges. (Bug#24040)
Restoration of the default database after stored routine or trigger execution on a slave could cause replication to stop if the database no longer existed. (Bug#25082)
This is a Monthly Rapid Update release of the MySQL Enterprise Server 5.0.
This section documents all changes and bug fixes that have been applied since the last MySQL Enterprise Server release (5.0.38).
Functionality added or changed:
If you use SSL for a client connection, you can tell the
client not to authenticate the server certificate by
specifying neither --ssl-ca nor
--ssl-capath. The server still verifies the
client according to any applicable requirements established
via GRANT statements for the client, and it
still uses any
--ssl-ca/--ssl-capath values
that were passed to server at startup time. (Bug#25309)
Prefix lengths for columns in SPATIAL
indexes are no longer displayed in SHOW CREATE
TABLE output. mysqldump uses that
statement, so if a table with SPATIAL
indexes containing prefixed columns is dumped and reloaded,
the index is created with no prefixes. (The full column width
of each column is indexed.) (Bug#26794)
The output of mysql --xml
and mysqldump --xml now
includes a valid XML namespace. (Bug#25946)
The mysql_create_system_tables script was removed because mysql_install_db no longer uses it in MySQL 5.0.
The syntax for index hints has been extended to enable explicit specification that the hint applies only to join processing. See Section 13.2.7.2, “Index Hint Syntax”. (Bug#21174)
Binary distributions for some platforms did not include shared libraries; now shared libraries are shipped for all platforms except AIX 5.2 64-bit. (Bug#13450, Bug#16520, Bug#26767)
NDB Cluster: It is now possible to restore
selected databases or tables using
ndb_restore. (Bug#26899)
NDB Cluster: Several options have been
added for use with ndb_restore
--print_data to facilitate the
creation of data dump files. (Bug#26900)
If a set function S with an outer
reference
cannot be aggregated in the outer query against which the
outer reference has been resolved, MySQL interprets
S(outer_ref)
the same way that it would interpret
S(outer_ref).
However, standard SQL requires throwing an error in this
situation. An error now is thrown for such queries if the
S(const)ANSI SQL mode is enabled. (Bug#27348)
Bugs fixed:
NDB Cluster: NDB tables
having MEDIUMINT AUTO_INCREMENT columns
were not restored correctly by ndb_restore,
causing spurious duplicate key errors. This issue did not
affect TINYINT, INT, or
BIGINT columns with
AUTO_INCREMENT. (Bug#27775)
NDB Cluster: NDB tables
with indexes whose names contained space characters were not
restored correctly by ndb_restore (the
index names were truncated). (Bug#27758)
NDB Cluster: Some queries that updated
multiple tables were not backed up correctly. (Bug#27748)
NDB Cluster: Joins on multiple tables
containing BLOB columns could cause data
nodes run out of memory, and to crash with the error
NdbObjectIdMap::expand unable to
expand. (Bug#26176)
NDB Cluster (APIs): Using
NdbBlob::writeData() to write data in the
middle of an existing blob value (that is, updating the value)
could overwrite some data past the end of the data to be
changed. (Bug#27018)
NDB Cluster: Under certain rare
circumstances, DROP TABLE or
TRUNCATE of an NDB table
could cause a node failure or forced cluster shutdown. (Bug#27581)
NDB Cluster: Memory usage of a
mysqld process grew even while idle. (Bug#27560)
NDB Cluster: In some cases, AFTER
UPDATE and AFTER DELETE triggers
on NDB tables that referenced subject table
did not see the results of operation which caused invocation
of the trigger, but rather saw the row as it was prior to the
update or delete operation.
This was most noticeable when an update operation used a
subquery to obtain the rows to be updated. An example would be
UPDATE tbl1 SET col2 = val1 WHERE tbl1.col1 IN
(SELECT col3 FROM tbl2 WHERE c4 = val2) where there
was an AFTER UPDATE trigger on table
tbl1. In such cases, the trigger would fail
to execute.
The problem occurred because the actual update or delete
operations were deferred to be able to perform them later as
one batch. The fix for this bug solves the problem by
disabling this optimization for a given update or delete if
the table has an AFTER trigger defined for
this operation. (Bug#26242)
NDB Cluster: Condition pushdown did not
work with prepared statements. (Bug#26225)
NDB Cluster: When trying to create tables
on an SQL node not connected to the cluster, a misleading
error message Table
'tbl_name' already
exists was generated. The error now generated is
Could not connect to storage engine.
(Bug#18676)
NDB Cluster: Error messages displayed when
running in single user mode were inconsistent. (Bug#27021)
NDB Cluster: On Solaris, the value of an
NDB table column declared as
BIT(33) was always displayed as
0. (Bug#26986)
NDB Cluster: The output from
ndb_restore --print_data
was incorrect for a backup made of a database containing
tables with TINYINT or
SMALLINT columns. (Bug#26740)
NDB Cluster: After entering single user
mode it was not possible to alter non-NDB
tables on any SQL nodes other than the one having sole access
to the cluster. (Bug#25275)
NDB Cluster: The failure of a data node
while restarting could cause other data nodes to hang or
crash. (Bug#27003)
NDB Cluster: The management client command
displayed the message node_id STATUSNode
when node_id: not connectednode_id was not the node ID of
a data node. (Bug#21715)
The ALL STATUS command in the cluster
management client still displays status information for data
nodes only. This is by design. See
Section 15.7.2, “Commands in the MySQL Cluster Management Client”, for
more information.
NDB Cluster: It was not possible to set
LockPagesInMainMemory equal to
0. (Bug#27291)
NDB Cluster: A race condition could
sometimes occur if the node acting as master failed while node
IDs were still being allocated during startup. (Bug#27286)
NDB Cluster: When a data node was taking
over as the master node, a race condition could sometimes
occur as the node was assuming responsibility for handling of
global checkpoints. (Bug#27283)
NDB Cluster: mysqld
processes would sometimes crash under high load. (Bug#26825)
NDB Cluster: Some values of
MaxNoOfTables caused the error
Job buffer congestion to occur. (Bug#19378)
Some equi-joins containing a WHERE clause
that included a NOT IN subquery caused a
server crash. (Bug#27870)
Windows binaries contained no debug symbol file. Now
.map and .pdb files
are included in 32-bit builds for
mysqld-nt.exe,
mysqld-debug.exe, and
mysqlmanager.exe. (Bug#26893)
The test for the
MYSQL_OPT_SSL_VERIFY_SERVER_CERT option for
mysql_options() was performed incorrectly.
Also changed as a result of this bugfix: The
arg option for the
mysql_options() C API function was changed
from char * to void *.
(Bug#24121)
The range optimizer could consume a combinatorial amount of
memory for certain classes of WHERE
clauses. (Bug#26624)
Conversion of DATETIME values in numeric
contexts sometimes did not produce a double
(YYYYMMDDHHMMSS.uuuuuu) value. (Bug#16546)
Passing nested row expressions with different structures to an
IN predicate caused a server crash. (Bug#27484)
SELECT DISTINCT could return incorrect
results if the select list contained duplicated columns. (Bug#27659)
A subquery could get incorrect values for references to outer query columns when it contained aggregate functions that were aggregated in outer context. (Bug#27321)
In some cases, the optimizer preferred a range or full index scan access method over lookup access methods when the latter were much cheaper. (Bug#19372)
Duplicates were not properly identified among (potentially)
long strings used as arguments for
GROUP_CONCAT(DISTINCT). (Bug#26815)
For InnoDB, fixed consistent-read behavior
of the first read statement, if the read was served from the
query cache, for the READ COMMITTED
isolation level. (Bug#21409)
The decimal.h header file was incorrectly
omitted from binary distributions. (Bug#27456)
Duplicate members in SET definitions were
not detected. Now they result in a warning; if strict SQL mode
is enabled, an error occurs instead. (Bug#27069)
For INSERT INTO ... SELECT where index
searches used column prefixes, insert errors could occur when
key value type conversion was done. (Bug#26207)
For SHOW ENGINE INNODB STATUS, the
LATEST DEADLOCK INFORMATION was not always
cleared properly. (Bug#25494)
mysqldump could crash or exhibit incorrect
behavior when some options were given very long values, such
as --fields-terminated-by=". The code has been cleaned up
to remove a number of fixed-sized buffers and to be more
careful about error conditions in memory allocation. (Bug#26346)
some very long
string"
Setting a column to NOT NULL with an
ON DELETE SET NULL clause foreign key
crashes the server. (Bug#25927)
The values displayed for the
Innodb_row_lock_time,
Innodb_row_lock_time_avg, and
Innodb_row_lock_time_max status variables
were incorrect. (Bug#23666)
COUNT(
sometimes generated a spurious truncation warning. (Bug#21976)
decimal_expr)
With NO_AUTO_VALUE_ON_ZERO SQL mode
enabled, LOAD DATA operations could assign
incorrect AUTO_INCREMENT values. (Bug#27586)
Incorrect results could be returned for some queries that
contained a select list expression with IN
or BETWEEN together with an ORDER
BY or GROUP BY on the same
expression using NOT IN or NOT
BETWEEN. (Bug#27532)
Queries containing subqueries with COUNT(*)
aggregated in an outer context returned incorrect results.
This happened only if the subquery did not contain any
references to outer columns. (Bug#27257)
Use of an aggregate function from an outer context as an
argument to GROUP_CONCAT() caused a server
crash. (Bug#27229)
REPAIR TABLE ... USE_FRM with an
ARCHIVE table deleted all records from the
table. (Bug#26138)
On Windows, debug builds of mysqld could fail with heap assertions. (Bug#25765)
On Windows, debug builds of mysqlbinlog could fail with a memory error. (Bug#23736)
String truncation upon insertion into an integer or year column did not generate a warning (or an error in strict mode). (Bug#26359, Bug#27176)
In out-of-memory conditions, the server might crash or otherwise not report an error to the Windows event log. (Bug#27490)
The temporary file-creation code was cleaned up on Windows to improve server stability. (Bug#26233)
Out-of-memory errors for slave I/O threads were not reported. Now they are written to the error log. (Bug#26844)
mysqldump crashed for
MERGE tables if the
--complete-insert (-c)
option was given. (Bug#25993)
In certain situations, MATCH ... AGAINST
returned false hits for NULL values
produced by LEFT JOIN when no full-text
index was available. (Bug#25729)
OPTIMIZE TABLE might fail on Windows when
it attempts to rename a temporary file to the original name if
the original file had been opened, resulting in loss of the
.MYD file. (Bug#25521)
GRANT statements were not replicated if the
server was started with the
--replicate-ignore-table or
--replicate-wild-ignore-table option. (Bug#25482)
A problem in handling of aggregate functions in subqueries caused predicates containing aggregate functions to be ignored during query execution. (Bug#24484)
Improved out-of-memory detection when sending logs from a master server to slaves, and log a message when allocation fails. (Bug#26837)
MBROverlaps() returned incorrect values in
some cases. (Bug#24563)
SHOW CREATE VIEW qualified references to
stored functions in the view definition with the function's
database name, even when the database was the default
database. This affected mysqldump (which
uses SHOW CREATE VIEW to dump views)
because the resulting dump file could not be used to reload
the database into a different database. SHOW CREATE
VIEW now suppresses the database name for references
to functions in the default database. (Bug#23491)
With innodb_file_per_table enabled,
attempting to rename an InnoDB table to a
non-existent database caused the server to exit. (Bug#27381)
mysql_install_db could terminate with an error after failing to determine that a system table already existed. (Bug#27022)
For InnoDB tables having a clustered index
that began with a CHAR or
VARCHAR column, deleting a record and then
inserting another before the deleted record was purged could
result in table corruption. (Bug#26835)
Selecting the result of AVG() within a
UNION could produce incorrect values. (Bug#24791)
An INTO OUTFILE clause is allowed only for
the final SELECT of a
UNION, but this restriction was not being
enforced correctly. (Bug#23345)
Duplicate entries were not assessed correctly in a
MEMORY table with a
BTREE primary key on a
utf8 ENUM column. (Bug#24985)
For MyISAM tables,
COUNT(*) could return an incorrect value if
the WHERE clause compared an indexed
TEXT column to the empty string
(''). This happened if the column contained
empty strings and also strings starting with control
characters such as tab or newline. (Bug#26231)
For DELETE FROM (with no
tbl_name ORDER BY
col_nameWHERE or LIMIT clause),
the server did not check whether
col_name was a valid column in the
table. (Bug#26186)
ALTER VIEW requires the CREATE
VIEW and DROP privileges for the
view. However, if the view was created by another user, the
server erroneously required the SUPER
privilege. (Bug#26813)
In a view, a column that was defined using a
GEOMETRY function was treated as having the
LONGBLOB data type rather than the
GEOMETRY type. (Bug#27300)
With the NO_AUTO_VALUE_ON_ZERO SQL mode
enabled, LAST_INSERT_ID() could return 0
after INSERT ... ON DUPLICATE KEY UPDATE.
Additionally, the next rows inserted (by the same
INSERT, or the following
INSERT with or without ON
DUPLICATE KEY UPDATE), would insert 0 for the
auto-generated value if the value for the
AUTO_INCREMENT column was
NULL or missing. (Bug#23233)
For a stored procedure containing a SELECT
statement that used a complicated join with an
ON expression, the expression could be
ignored during re-execution of the procedure, yielding an
incorrect result. (Bug#20492)
When RAND() was called multiple times inside a stored procedure, the server did not write the correct random seed values to the binary log, resulting in incorrect replication. (Bug#25543)
SOUNDEX() returned an invalid string for
international characters in multi-byte character sets. (Bug#22638)
Row equalities in WHERE clauses could cause
memory corruption. (Bug#27154)
GROUP BY on a ucs2
column caused a server crash when there was at least one empty
string in the column. (Bug#27079)
Evaluation of an IN() predicate containing
a decimal-valued argument caused a server crash. (Bug#27362)
Storing NULL values in spatial fields
caused excessive memory allocation and crashes on some
systems. (Bug#27164)
mysql_stmt_fetch() did an invalid memory
deallocation when used with the embedded server. (Bug#25492)
In a MEMORY table, using a
BTREE index to scan for updatable rows
could lead to an infinite loop. (Bug#26996)
The range optimizer could cause the server to run out of memory. (Bug#26625)
The parser accepted illegal code in SQL exception handlers, leading to a crash at runtime when executing the code. (Bug#26503)
Difficult repair or optimization operations could cause an assertion failure, resulting in a server crash. (Bug#25289)
Increasing the width of a DECIMAL column
could cause column values to be changed. (Bug#24558)
Replication between master and slave would infinitely retry
binary log transmission where the
max_allowed_packet on the master was larger
than that on the slave if the size of the transfer was between
these two values. (Bug#23775)
Invalid optimization of pushdown conditions for queries where an outer join was guaranteed to read only one row from the outer table led to results with too few rows. (Bug#26963)
For INSERT ... ON DUPLICATE KEY UPDATE
statements on tables containing
AUTO_INCREMENT columns,
LAST_INSERT_ID() was reset to 0 if no rows
were successfully inserted or changed. “Not
changed” includes the case where a row was updated to
its current values, but in that case,
LAST_INSERT_ID() should not be reset to 0.
Now LAST_INSERT_ID() is reset to 0 only if
no rows were successfully inserted or touched, whether or not
touched rows were changed. (Bug#27033)
This bug was introduced by the fix for Bug#19978.
For an INSERT statement that should fail
due to a column with no default value not being assigned a
value, the statement succeeded with no error if the column was
assigned a value in an ON DUPLICATE KEY
UPDATE clause, even if that clause was not used.
(Bug#26261)
A result set column formed by concatention of string literals
was incomplete when the column was produced by a subquery in
the FROM clause. (Bug#26738)
When using the result of SEC_TO_TIME() for
time value greater than 24 hours in an ORDER
BY clause, either directly or through a column
alias, the rows were sorted incorrectly as strings. (Bug#26672)
If the server was started with
--skip-grant-tables, Selecting from
INFORMATION_SCHEMA tables causes a server
crash. (Bug#26285)
This is a Monthly Rapid Update release of the MySQL Enterprise Server 5.0.
This section documents all changes and bug fixes that have been applied since the last MySQL Enterprise Server release (5.0.36).
Functionality added or changed:
To satisfy different user requirements, we provide several servers. mysqld is an optimized server that is a smaller, faster binary. Each package now also includes mysqld-debug, which is compiled with debugging support but is otherwise configured identically to the non-debug server.
Added the --secure-file-priv option for
mysql-test-run.pl, which limits the effect
of the load_file command for
mysqltest and for the LOAD
DATA and SELECT ... INTO OUTFILE
statements to work with files in a given directory. (Bug#18628)
Added the hostname system variable, which
the server sets at startup to the server hostname.
The server now includes a timestamp in error messages that are
logged as a result of unhandled signals (such as
mysqld got signal 11 messages). (Bug#24878)
Bugs fixed:
Incompatible change:
INSERT DELAYED statements are not supported
for MERGE tables, but the
MERGE storage engine was not rejecting such
statements, resulting in table corruption. Applications
previously using INSERT DELAYED into
MERGE table will break when upgrading to
versions with this fix. To avoid the problem, remove
DELAYED from such statements. (Bug#26464)
NDB Cluster: An invalid pointer was
returned following a FSCLOSECONF signal
when accessing the REDO logs during a node restart or system
restart. (Bug#26515)
NDB Cluster: An inadvertent use of
unaligned data caused ndb_restore to fail
on some 64-bit platforms, including Sparc and Itanium-2. (Bug#26739)
NDB Cluster: An infinite loop in an
internal logging function could cause trace logs to fill up
with Unknown Signal type error messages
and thus grow to unreasonable sizes. (Bug#26720)
NDB Cluster: The failure of a data node
when restarting it with --initial could lead
to failures of subsequent data node restarts. (Bug#26481)
NDB Cluster: Takeover for local
checkpointing due to multiple failures of master nodes was
sometimes incorrect handled. (Bug#26457)
NDB Cluster: The
LockPagesInMemory parameter was not read
until after distributed communication had already started
between cluster nodes. When the value of this parameter was
1, this could sometimes result in data node
failure due to missed heartbeats. (Bug#26454)
NDB Cluster: Under some circumstances,
following the restart of a management, all cluster data nodes
would connect to it normally, but some of them subsequently
failed to log any events to the management node. (Bug#26293)
NDB Cluster: An error was produced when
SHOW TABLE STATUS was used on an
NDB table that had no
AUTO_INCREMENT column. (Bug#21033)
SELECT ... INTO OUTFILE with a long
FIELDS ENCLOSED BY value could crash the
server. (Bug#27231)
DOUBLE values such as
20070202191048.000000 were being treated as
illegal arguments by WEEK(). (Bug#23616)
AFTER UPDATE triggers were not activated by
the update part of INSERT ... ON DUPLICATE KEY
UPDATE statements. (Bug#27006, Bug#27210)
This bug was introduced by the fix for Bug#19978.
For INSERT ... ON DUPLICATE KEY UPDATE
statements where some AUTO_INCREMENT values
were generated automatically for inserts and some rows were
updated, one auto-generated value was lost per updated row,
leading to faster exhaustion of the range of the
AUTO_INCREMENT column. (Bug#24432)
Because the original problem can affect replication (different values on master and slave), it is recommended that the master and its slaves be upgraded to the current version.
IN ((,
subquery))IN
(((, and so
forth, are equivalent to subquery)))IN
(, which is
always interpreted as a table subquery (so that it is allowed
to return more than one row). MySQL was treating the
“over-parenthesized” subquery as a single-row
subquery and rejecting it if it returned more than one row.
This bug primarily affected automatically generated code (such
as queries generated by Hibernate), because humans rarely
write the over-parenthesized forms. (Bug#21904)
subquery)
For MERGE tables defined on underlying
tables that contained a short VARCHAR
column (shorter than four characters), using ALTER
TABLE on at least one but not all of the underlying
tables caused the table definitions to be considered different
from that of the MERGE table, even if the
ALTER TABLE did not change the definition.
(Bug#26881)
If a thread previously serviced a connection that was killed, excessive memory and CPU use by the thread occurred if it later serviced a connection that had to wait for a table lock. (Bug#25966)
CURDATE() is less than
NOW(), either when comparing
CURDATE() directly (CURDATE() <
NOW() is true) or when casting
CURDATE() to DATE
(CAST(CURDATE() AS DATE) < NOW() is
true). However, storing CURDATE() in a
DATE column and comparing
incorrectly yielded false. This is fixed by
comparing a col_name <
NOW()DATE column as
DATETIME for comparisons to a
DATETIME constant. (Bug#21103)
A view on a join is insertable for INSERT
statements that store values into only one table of the join.
However, inserts were being rejected if the inserted-into
table was used in a self-join because MySQL incorrectly was
considering the insert to modify multiple tables of the view.
(Bug#25122)
Expressions involving SUM(), when used in
an ORDER BY clause, could lead to
out-of-order results. (Bug#25376)
LOAD DATA INFILE sent an okay to the client
before writing the binary log and committing the changes to
the table had finished, thus violating ACID requirements. (Bug#26050)
Views that used a scalar correlated subquery returned incorrect results. (Bug#26560)
IF(expr,
unsigned_expr,
unsigned_expr) was evaluated to a
signed result, not unsigned. This has been corrected. The fix
also affects constructs of the form IS [NOT]
{TRUE|FALSE}, which were transformed internally into
IF() expressions that evaluated to a signed
result. (Bug#24532)
For existing views that were defined using IS [NOT]
{TRUE|FALSE} constructs, there is a related
implication. The definitions of such views were stored using
the IF() expression, not the original
construct. This is manifest in that SHOW CREATE
VIEW shows the transformed IF()
expression, not the original one. Existing views will evaluate
correctly after the fix, but if you want SHOW CREATE
VIEW to display the original construct, you must
drop the view and re-create it using its original definition.
New views will retain the construct in their definition.
BENCHMARK() did not work correctly for
expressions that produced a DECIMAL result.
(Bug#26093)
For some values of the position argument, the
INSERT() function could insert a NUL byte
into the result. (Bug#26281)
Inserting utf8 data into a
TEXT column that used a single-byte
character set could result in spurious warnings about
truncated data. (Bug#25815)
EXPLAIN EXTENDED did not show
WHERE conditions that were optimized away.
(Bug#22331)
INSERT DELAYED statements inserted
incorrect values into BIT columns. (Bug#26238)
For , the
result could be incorrect if expr
IN(value_list)BIGINT
UNSIGNED values were used for
expr or in the value list. (Bug#19342)
When a TIME_FORMAT() expression was used as
a column in a GROUP BY clause, the
expression result was truncated. (Bug#20293)
For SUBSTRING() evaluation using a
temporary table, when SUBSTRING() was used
on a LONGTEXT column, the max_length
metadata value of the result was incorrectly calculated and
set to 0. Consequently, an empty string was returned instead
of the correct result. (Bug#15757)
Use of a GROUP BY clause that referred to a
stored function result together with WITH
ROLLUP caused incorrect results. (Bug#25373)
Use of a subquery containing GROUP BY and
WITH ROLLUP caused a server crash. (Bug#26830)
Use of a subquery containing a UNION with
an invalid ORDER BY clause caused a server
crash. (Bug#26661)
In certain cases it could happen that deleting a row corrupted
an RTREE index. This affected indexes on
spatial columns. (Bug#25673)
SSL connections failed on Windows. (Bug#26678)
Added support for --debugger=dbx for
mysql-test-run.pl and fixed support for
--debugger=devenv,
--debugger=DevEnv, and
--debugger=.
(Bug#26792)
/path/to/devenv
X() IS NULL and Y() IS
NULL comparisons failed when X()
and Y() returned NULL.
(Bug#26038)
UNHEX() IS NULL comparisons failed when
UNHEX() returned NULL.
(Bug#26537)
The REPEAT() function did not allow a
column name as the count parameter.
(Bug#25197)
On 64-bit Windows, large timestamp values could be handled incorrectly. (Bug#26536)
In some error messages, inconsistent format specifiers were used for the translations in different languages. comp_err (the error message compiler) now checks for mismatches. (Bug#26571)
On Windows, the server exhibited a file-handle leak after reaching the limit on the number of open file descriptors. (Bug#25222)
A reference to a non-existent column in the ORDER
BY clause of an UPDATE ... ORDER
BY statement could cause a server crash. (Bug#25126)
A multiple-row delayed insert with an auto increment column could cause duplicate entries to be created on the slave in a replication environment. (Bug#25507, Bug#26116)
Duplicating the usage of a user variable in a stored procedure or trigger would not be replicated correctly to the slave. (Bug#25167)
User defined variables used within stored procedures and triggers are not replicated correctly when operating in statement-based replication mode. (Bug#20141, Bug#14914)
Loading data using LOAD DATA INFILE may not
replicate correctly (due to character set incompatibilities)
if the character_set_database variable is
set before the data is loaded. (Bug#15126)
DROP TRIGGER statements would not be
filtered on the slave when using the
replication-wild-do-table option. (Bug#24478)
MySQL would not compile when configured using
--without-query-cache. (Bug#25075)
When using certain server SQL modes, the
mysql.proc table was not created by
mysql_install_db. In addition, the creation
of this and other MySQL system tables was not checked for by
mysql-test-run.pl. (Bug#23669, Bug#20166)
VIEW restrictions were applied to
SELECT statements after a CREATE
VIEW statement failed, as though the
CREATE had succeeded. (Bug#25897)
An INSERT trigger invoking a stored routine
that inserted into a table other than the one on which the
trigger was defined would fail with a Table '...'
doesn't exist referring to the second table when
attempting to delete records from the first table. (Bug#21825)
A stored procedure that made use of cursors failed when the procedure was invoked from a stored function. (Bug#25345)
When nesting stored procedures within a trigger on a table, a
false dependency error was thrown when one of the nested
procedures contained a DROP TABLE
statement. (Bug#22580)
When attempting to call a stored procedure creating a table
from a trigger on a table tbl in a database
db, the trigger failed with
ERROR 1146 (42S02): Table 'db.tbl' doesn't
exist. However, the actual reason that such a
trigger fails is due to the fact that CREATE
TABLE causes an implicit COMMIT,
and so a trigger cannot invoke a stored routine containing
this statement. A trigger which does so now fails with
ERROR 1422 (HY000): Explicit or implicit commit is
not allowed in stored function or trigger, which
makes clear the reason for the trigger's failure. (Bug#18914)
Local variables in stored routines or triggers, when declared
as the BIT type, were interpreted as
strings. (Bug#12976)
When a stored routine attempted to execute a statement accessing a nonexistent table, the error was not caught by the routine's exception handler. (Bug#8407, Bug#20713)
NOW() returned the wrong value in
statements executed at server startup with the
--init-file option. (Bug#23240)
Instance Manager did not remove the angel PID file on a clean shutdown. (Bug#22511)
The server could crash if two or more threads initiated query cache resize operation at moments very close in time. (Bug#23527)
The conditions checked by the optimizer to allow use of
indexes in IN predicate calculations were
unnecessarily tight and were relaxed. (Bug#20420)
Several deficiencies in resolution of column names for
INSERT ... SELECT statements were
corrected. (Bug#25831)
Indexes on TEXT columns were ignored when
ref accesses were evaluated. (Bug#25971)
The update columns for INSERT ... SELECT ... ON
DUPLICATE KEY UPDATE could be assigned incorrect
values if a temporary table was used to evaluate the
SELECT. (Bug#16630)
CONNECTION is no longer treated as a
reserved word. (Bug#12204)
A user-defined variable could be assigned an incorrect value if a temporary table was employed in obtaining the result of the query used to determine its value. (Bug#24010)
Queries that used a temporary table for the outer query when evaluating a correlated subquery could return incorrect results. (Bug#23800)
For index reads, the BLACKHOLE engine did
not return end-of-file (which it must because
BLACKHOLE tables contain no rows), causing
some queries to crash. (Bug#19717)
This is a Service Pack release of the MySQL Enterprise Server 5.0.
This section documents all changes and bug fixes that have been applied since the last MySQL Enterprise Server release (5.0.36).
Bugs fixed:
For MERGE tables defined on underlying
tables that contained a short VARCHAR
column (shorter than four characters), using ALTER
TABLE on at least one but not all of the underlying
tables caused the table definitions to be considered different
from that of the MERGE table, even if the
ALTER TABLE did not change the definition.
(Bug#26881)
SELECT ... INTO OUTFILE with a long
FIELDS ENCLOSED BY value could crash the
server. (Bug#27231)
This is a Monthly Rapid Update release of the MySQL Enterprise Server 5.0.
This section documents all changes and bug fixes that have been applied since the last MySQL Enterprise Server release (5.0.34).
After release, a trigger failure problem was found to have been introduced. (Bug#27006) Users affected by this issue should upgrade to MySQL 5.0.38, which corrects the problem.
Functionality added or changed:
Incompatible change:
Previously, the DATE_FORMAT() function
returned a binary string. Now it returns a string with a
character set and collation given by
character_set_connection and
collation_connection so that it can return
month and weekday names containing non-ASCII characters. (Bug#22646)
NDB Cluster: The
LockPagesInMainMemory configuration
parameter has changed its type and possible values. For more
information, see
LockPagesInMainMemory.
(Bug#25686)
Important: The values
true and false are no
longer accepted for this parameter. If you were using this
parameter and had it set to false in a
previous release, you must change it to 0.
If you had this parameter set to true, you
should instead use 1 to obtain the same
behavior as previously, or 2 to take
advantage of new functionality introduced with this release
described in the section cited above.
Important: When using
MERGE tables the definition of the
MERGE table and the
MyISAM tables are checked each time the
tables are opened for access (including any
SELECT or INSERT
statement. Each table is compared for column order, types,
sizes and associated. If there is a difference in any one of
the tables then the statement will fail.
The localhost anonymous user account
created during MySQL installation on Windows now has no global
privileges. Formerly this account had all global privileges.
For operations that require global privileges, the
root account can be used instead. (Bug#24496)
The bundled yaSSL library was upgraded to version 1.5.8.
Bugs fixed:
Security fix: Using an
INFORMATION_SCHEMA table with
ORDER BY in a subquery could cause a server
crash.
(CVE-2007-1420,
Bug#24630, Bug#26556) We would like to thank Oren Isacson
from Flowgate Security Consulting as well as well as Stefan
Streichsbier from SEC Consult for informing us about this
problem.
Incompatible change: For
ENUM columns that had enumeration values
containing commas, the commas were mapped to 0xff internally.
However, this rendered the commas indistinguishable from true
0xff characters in the values. This no longer occurs. However,
the fix requires that you dump and reload any tables that have
ENUM columns containing true 0xff in their
values: Dump the tables using mysqldump
with the current server before upgrading from a version of
MySQL 5.0 older than 5.0.36 to version 5.0.36 or newer. (Bug#24660)
On Windows, if the server was installed as a service, it did not auto-detect the location of the data directory. (Bug#20376)
If the duplicate key value was present in the table,
INSERT ... ON DUPLICATE KEY UPDATE reported
a row count indicating that a record was updated, even when no
record actually changed due to the old and new values being
the same. Now it reports a row count of zero. (Bug#19978)
Some UPDATE statements were slower than in
previous versions when the search key could not be converted
to a valid value for the type of the search column. (Bug#24035)
The WITH CHECK OPTION clause for views was
ignored for updates of multiple-table views when the updates
could not be performed on fly and the rows to update had to be
put into temporary tables first. (Bug#25931)
Using ORDER BY or GROUP
BY could yield different results when selecting from
a view and selecting from the underlying table. (Bug#26209)
LAST_INSERT_ID() was not reset to 0 if
INSERT ... SELECT inserted no rows. (Bug#23170)
Storing values specified as hexadecimal values 64 or more bits
long into BIT(64),
BIGINT, or BIGINT
UNSIGNED columns did not raise any warning or error
if the value was out of range. (Bug#22533)
Inserting DEFAULT into a column with no
default value could result in garbage in the column. Now the
same result occurs as when inserting NULL
into a NOT NULL column. (Bug#20691)
The presence of ORDER BY in a view
definition prevented the MERGE algorithm
from being used to resolve the view even if nothing else in
the definition required the TEMPTABLE
algorithm. (Bug#12122)
ISNULL(DATE(NULL)) and
ISNULL(CAST(NULL AS DATE)) erroneously
returned false. (Bug#23938)
If a slave server closed its relay log (for example, due to an error during log rotation), the I/O thread did not recognize this and still tried to write to the log, causing a server crash. (Bug#10798)
Collation for LEFT JOIN comparisons could
be evaluated incorrectly, leading to improper query results.
(Bug#26017)
For the IF() and
COALESCE() function and
CASE expressions, large unsigned integer
values could be mishandled and result in warnings. (Bug#22026)
The number of setsockopt() calls performed
for reads and writes to the network socket was reduced to
decrease system call overhead. (Bug#22943)
A WHERE clause that used
BETWEEN for DATETIME
values could be treated differently for a
SELECT and a view defined as that
SELECT. (Bug#26124)
ORDER BY on DOUBLE
values could change the set of rows returned by a query. (Bug#19690)
The code for generating USE statements for
binary logging of CREATE PROCEDURE
statements resulted in confusing output from
mysqlbinlog for DROP
PROCEDURE statements. (Bug#22043)
LOAD DATA INFILE did not work with pipes.
(Bug#25807)
DISTINCT queries that were executed using a
loose scan for an InnoDB table that had
been emptied caused a server crash. (Bug#26159)
The InnoDB parser sometimes did not account
for null bytes, causing spurious failure of some queries. (Bug#25596)
Type conversion errors during formation of index search conditions were not correctly checked, leading to incorrect query results. (Bug#22344)
Within a stored routine, accessing a declared routine variable
with PROCEDURE ANALYSE() caused a server
crash. (Bug#23782)
Use of already freed memory caused SSL connections to hang forever. (Bug#19209)
mysql.server stop timed out too quickly (35 seconds) waiting for the server to exit. Now it waits up to 15 minutes, to ensure that the server exits. (Bug#25341)
A yaSSL program named test was installed, causing conflicts with the test system utility. It is no longer installed. (Bug#25417)
perror crashed on some platforms due to
failure to handle a NULL pointer. (Bug#25344)
mysql_kill() caused a server crash when
used on an SSL connection. (Bug#25203)
The readline library wrote to uninitialized
memory, causing mysql to crash. (Bug#19474)
yaSSL was sensitive to the presence of whitespace at the ends of lines in PEM-encoded certificates, causing a server crash. (Bug#25189)
mysqld_multi and
mysqlaccess looked for option files in
/etc even if the
--sysconfdir option for
configure had been given to specify a
different directory. (Bug#24780)
The SEC_TO_TIME() and
QUARTER() functions sometimes did not
handle NULL values correctly. (Bug#25643)
With ONLY_FULL_GROUP_BY enables, the server
was too strict: Some expressions involving only aggregate
values were rejected as non-aggregate (for example,
MAX(a) - MIN(a)). (Bug#23417)
The arguments of the ENCODE() and the
DECODE() functions were not printed
correctly, causing problems in the output of EXPLAIN
EXTENDED and in view definitions. (Bug#23409)
An error in the name resolution of nested JOIN ...
USING constructs was corrected. (Bug#25575)
A return value of -1 from user-defined
handlers was not handled well and could result in conflicts
with server code. (Bug#24987)
The server might fail to use an appropriate index for
DELETE when ORDER BY,
LIMIT, and a non-restricting
WHERE are present. (Bug#17711)
Use of ON DUPLICATE KEY UPDATE defeated the
usual restriction against inserting into a join-based view
unless only one of the underlying tables is used. (Bug#25123)
Some queries against INFORMATION_SCHEMA
that used subqueries failed. (Bug#23299).
SHOW COLUMNS reported some NOT
NULL columns as NULL. (Bug#22377)
View definitions that used the ! operator
were treated as containing the NOT
operator, which has a different precedence and can produce
different results. (Bug#25580).
For a UNIQUE index containing many
NULL values, the optimizer would prefer the
index for conditions over other more selective indexes.
(Bug#25407).
col IS
NULL
GROUP BY and DISTINCT
did not group NULL values for columns that
have a UNIQUE index. (Bug#25551).
ALTER TABLE ... ENABLE KEYS acquired a
global lock, preventing concurrent execution of other
statements that use tables. (Bug#25044).
For an InnoDB table with any ON
DELETE trigger, TRUNCATE TABLE
mapped to DELETE and activated triggers.
Now a fast truncation occurs and triggers are not activated.
(Bug#23556).
For ALTER TABLE, using ORDER BY
could cause a
server crash. Now the expressionORDER BY clause
allows only column names to be specified as sort criteria
(which was the only documented syntax, anyway). (Bug#24562)
readline detection did not work correctly
on NetBSD. (Bug#23293)
The --with-readline option for
configure does not work for commercial
source packages, but no error message was printed to that
effect. Now a message is printed. (Bug#25530)
If an ORDER BY or GROUP
BY list included a constant expression being
optimized away and, at the same time, containing single-row
subselects that return more that one row, no error was
reported. If a query requires sorting by expressions
containing single-row subselects that return more than one
row, execution of the query may cause a server crash. (Bug#24653)
Attempts to access a MyISAM table with a
corrupt column definition caused a server crash. (Bug#24401)
To enable installation of MySQL RPMs on Linux systems running RHEL 4 (which includes SE-Linux) additional information was provided to specify some actions that are allowed to the MySQL binaries. (Bug#12676)
When SET PASSWORD was written to the binary
log double quotes were included in the statement. If the slave
was running in with the sql_mode set to
ANSI_QUOTES the event would fail and halt
the replication process. (Bug#24158)
Accessing a fixed record format table with a crashed key definition results in server/myisamchk segmentation fault. (Bug#24855)
When opening a corrupted .frm file during
a query, the server crashes. (Bug#24358)
If there was insufficient memory to store or update a blob
record in a MyISAM table then the table
will marked as crashed. (Bug#23196)
When updating a table that used a JOIN of
the table itself (for example, when building trees) and the
table was modified on one side of the expression, the table
would either be reported as crashed or the wrong rows in the
table would be updated. (Bug#21310)
Queries that evaluate NULL IN (SELECT ... UNION
SELECT ...) could produce an incorrect result
(FALSE instead of NULL).
(Bug#24085)
When reading from the standard input on Windows, mysqlbinlog opened the input in text mode rather than binary mode and consequently misinterpreted some characters such as Control-Z. (Bug#23735)
Within stored routines or prepared statements, inconsistent
results occurred with multiple use of INSERT ...
SELECT ... ON DUPLICATE KEY UPDATE when the
ON DUPLICATE KEY UPDATE clause erroneously
tried to assign a value to a column mentioned only in its
SELECT part. (Bug#24491)
Expressions of the form (a, b) IN (SELECT a, MIN(b)
FROM t GROUP BY a) could produce incorrect results
when column a of table t
contained NULL values while column
b did not. (Bug#24420)
Expressions of the form (a, b) IN (SELECT c, d
...) could produce incorrect results if
a, b, or both were
NULL. (Bug#24127)
No warning was issued for use of the DATA
DIRECTORY or INDEX DIRECTORY
table options on a platform that does not support them. (Bug#17498)
When a prepared statement failed during the prepare operation, the error code was not cleared when it was reused, even if the subsequent use was successful. (Bug#15518)
mysql_upgrade failed when called with a
basedir pathname containing spaces. (Bug#22801)
Hebrew-to-Unicode conversion failed for some characters. Definitions for the following Hebrew characters (as specified by the ISO/IEC 8859-8:1999) were added: LEFT-TO-RIGHT MARK (LRM), RIGHT-TO-LEFT MARK (RLM) (Bug#24037)
An AFTER UPDATE trigger on an
InnoDB table with a composite primary key
caused the server to crash. (Bug#25398)
A query that contained an EXIST subquery
with a UNION over correlated and
uncorrelated SELECT queries could cause the
server to crash. (Bug#25219)
A query with ORDER BY and GROUP
BY clauses where the ORDER BY
clause had more elements than the GROUP BY
clause caused a memory overrun leading to a crash of the
server. (Bug#25172)
If there was insufficient memory available to mysqld, this could sometimes cause the server to hang during startup. (Bug#24751)
If a prepared statement accessed a view, access to the tables listed in the query after that view was checked in the security context of the view. (Bug#24404)
A query using WHERE
could
cause the server to crash. (Bug#24261)
unsigned_column NOT IN
('negative_value')
A FETCH statement using a cursor on a table
which was not in the table cache could sometimes cause the
server to crash. (Bug#24117)
SSL connections could hang at connection shutdown. (Bug#24148, Bug#21781)
The STDDEV() function returned a positive
value for data sets consisting of a single value. (Bug#22555)
mysqltest incorrectly tried to retrieve result sets for some queries where no result set was available. (Bug#19410)
mysqltest crashed with a stack overflow. (Bug#24498)
Passing a NULL value to a user-defined
function from within a stored procedure crashes the server.