The following problems are known and fixing them is a high priority:
C API
Bug#29605: --local-infile=0 checks can be bypassed by sending a
FETCH LOCAL FILE response
--local-infile=0 disables support for LOAD LOCAL INFILE in MySQL clients. However, this is currently enforced only on the server, which means that a "fake" server (that is, one that disregards the --local-infile setting) can read any files to which clients have access. It is assumed that this issue affects all MySQL client libraries and applications.
Target fix: 5.1+
Bug#34655: Compile error
Target fix: 5.1+
Bug#30472: libmysql doesn't reset charset, insert_id after succ. mysql_change_user() call
After mysql_change_user(), the character set variables should be just as after mysql_real_connect(). However, the server sets them to the global defaults. A workaround would be to explicitly reinitialize character set information explicitly following mysql_change_user().
Already fixed in: 5.1.23
Client
Bug#33841: mysql client crashes when returning results for long running queries
Target fix: 4.1+
Bug#26215: mysql command line client should not strip comments
from SQL statements
Bug#33057: mysql command line client slows down and uses 100%
CPU when restoring dump
Already fixed in: 5.0+
Bug#32221: bug25714, mytest, mysql_client_test complaints and crashes
Server
Bug#34749: Server crash when using NAME_CONST()
with an aggregate function
Target fix: 5.0+
Bug#30435: loading large LOAD DATA INFILE
breaks slave with read_buffer_size set on master
Target fix: 5.0+
Bug#35074: max_used_connections is not correct
Target fix: 5.1+
Bug#22351: handler::index_next_same() call to key_cmp_if_same() uses the wrong buffer
Queries against tables partioned by key using multiple columns for both the primary key and the partitioning can return the wrong number of rows.
Already fixed in: 5.1
Bug#27545: NAME_CONST() fails to return
Bug#31177: Server variables can't be set to their current values
Bug#26447: "ALTER TABLE ..
ORDER" does not work with InnoDB and
auto_increment keys
Bug#32051: UNION within
EXISTS returns incorrect result
Bug#32268: Indexed queries give bogus MIN and
MAX results
Bug#32335: inconsistent int > null +1 behavior
Bug#19723: KILL of active connection yields
error on Mac OS X
Already fixed in: 5.1.?
Bug#33814: Pre-auth buffer-overflow in mySQL through yaSSL
Already fixed in: 5.0+
Bug#32036: EXISTS within a
WHERE clause with a UNION
crashes MySQL 5.122
Already fixed in: 5.0+
Bug#27848: rollup in union part causes error with order of union
Target fix: 5.0+
Bug#26788: mysqld (debug) aborts when inserting specific numbers into char fields
Already fixed in: 5.0+
Bug#32775: problems with SHOW EVENTS and
Information_Schema
Bug#30355: Incorrect ordering of UDF results
Under some circumstances, a UDF initialization function could be passed incorrect argument lengths.
Already fixed in: 5.1.23
Bug#24907: unpredictable (display) precision, if input precision increases
Already fixed in: 5.0+
Bug#32533: SELECT INTO/LOAD DATA
INFILE with FIELDS ENCLOSED BY 8bit
char corrupts data
Bug#32798: DISTINCT in
GROUP_CONCAT clause fails when ordering by a
column with null values
Bug#30788: Inconsistent retrieval of char/varchar
Bug#31036: Using order by with archive table crashes server
Using ORDER BY as a clause within a SELECT on an archive table where the combined column length of the table is 510 bytes or larger triggers. the crash. One workaround is to use a subselect on the query.
Already fixed in: 5.1.23
Bug#33507: Event scheduler creates more threads than max_connections = user lockout
Target fix: 5.1+
Bug#30897: GROUP_CONCAT returns extra comma on
empty fields
For a column that contains only empty strings, GROUP_CONCAT() returns "," rather than the correct result of "".
Already fixed in: 5.1.23
Bug#31153: calling stored procedure crashes server if available memory is low
Already fixed in: 5.1.23
Bug#29908: alter view keeps current definer, user can gain additioanl access
If a user changed a view with ALTER VIEW, the original DEFINER was retained, possibly allowing the new user to gain privileges. The fix will be to allow only the original view definer to alter the view.
Already fixed in: 5.1.23
Bug#30152: MySQLD crash duing alter table causes DROP
DATABASE to FAIL due to temp file
Bug#35732: read-only blocks SELECT statements
in InnoDB
Target fix: 5.1.24
Bug#30384: SQL_BUFFER_RESULT corrups indexes
Bug#29419: Specifying a join_buffer > 4GB on 64 bit machines not possible.
On 64-bit systems, specifying a join_buffer size greater than 4GB would cause the value to wrap on the 4GB boundary. For example, a join_buffer of 5GB would actually only reserve 1GB. On 64-bit systems this restriction will be lifted. On 32-bit systems, the join_buffer size will be limited to 4GB.
Already fixed in: 5.1.23
Server: CSV
Server: Charsets
Bug#32726: crash with cast in order by clause and cp932 charset
Bug#31070: crash during conversion of charsets
A fix for this issue has been committed and is expected to appear in MySQL 5.1.23.
Already fixed in: 5.1.23
Bug#31615: crash after set names ucs2 collate xxx
Bug#30981: CHAR(0x41 USING
ucs2) doesn't add leading zero
CHAR(str USING ucs2) for strings with an odd number of bytes did not add a leading 0x00 byte. Workaround: Provide an even-length string.
Already fixed in: 5.1.23
Bug#30982: CHAR(..USING..)
can return a not-well-formed string
For CHAR(str USING charset) and CONVERT(str USING charset), no check was made that the string contained valid input for the character set (for example, CHAR(0xFF USING utf8) is invalid). An error should occur if the input is not well-formed.
Already fixed in: 5.1.23
Bug#30986: Character set introducer followed by a
HEX string can return bad result
For a character set introducer followed by a hex string, no check was made that the string contained valid input for the character set (for example, _utf8 0xFF is invalid). An error should occur if the input is not well-formed.
Already fixed in: 5.1.23
Bug#31069: crash in 'sounds like'
A fix for this issue has been committed and is expected to appear in MySQL 5.1.23.
Already fixed in: 5.1.23
Server: Cluster
Bug#30366: NDB fails to start on
OS X, 64 bit
Already fixed in: 5.1.23
Bug#29390: too complex interpreted program crashes data nodes
Interpeted NDB API programs of sufficient size and complexity can in some cases cause data nodes to shut down due to buffer overruns. Note: This issue has already been fixed in MySQL Cluster Carrier Grade Edition (MySQL 5.1.22-ndb-6.3.4).
Already fixed in: 5.1.23
Bug#28445: Heartbeat does not start until first
API_REGREQ is recevied
If an API or management node restarts or a network failure occurs, there is a short interval before data nodes can detect this, which results in a lingering connection.
Already fixed in: 5.1+
Bug#33168: Incorrectly handled parameters can make the
TC crash during node failure
Bug#31239: Test "ndb_views" returns NDB error
4259 "Invalid set of range scan bounds"
Target fix: 5.1
Bug#28647: backup will run forever if disk full and later write succes will kill ndb node
A Cluster backup fails to stop on its own if the disk on the data node runs out of space. Workaround: Monitor data node disk usage during Cluster backups. Note: A fix for this issue has been committed and is expected to appear in the next 5.1 release.
Target fix: 5.1.23
Server: ClusterDD
Bug#29186: write >4gb into 1 datafile on a 32-bit computer, offset wraps causing corruption
Creating a Disk Data log file or data file larger than 4 GB on a host running a 32-bit operating system leads to filesystem corruption on the host. Since this is a limitation of 32-bit operating systems, the workaround is not to create Disk Data files which are greater than 4 GB in size on such platforms. In the future, we plan to disallow statements creating Disk Data files whose size is greater than 4 GB on 32-bit hosts.
Target fix: 5.1
Server: ClusterRep
Bug#31484: Cluster LOST_EVENTS entry not added
to binlog on mysqld restart.
If the master mysqld node disconnects and reconnects to the cluster (for example, if the network connection is broken then re-established), a LOST_EVENTS entry is added to the binlog. However, when the master mysqld node crashes or has a normal restart it does not create the LOST_EVENTS entry. (This has already been fixed in MySQL Cluster Carrier Grade Edition releases 5.1.22-ndb-6.2.8 and 5.1.22-ndb-6.3.6.)
Already fixed in: 5.1.23
Bug#31958: many parallell create/delete ndb may hang ndbapi
Under certain conditions, the slave may stop processing relay logs, which results in the logs never being cleared and the slave eventually running out of disk space. (Note: This issue has already been fixed in MySQL Cluster Carrier Grade versions 5.1.15-ndb-6.1.23 and 5.1.22-ndb-6.2.9.)
Already fixed in: 5.1.23
Server: Compiling
Bug#15327: configure: --with-tcp-port option being partially ignored
Client programs are not respecting the TCP/IP port number specified via the --with-tcp-port configure option. Workaround: Specify --port=port_num explicitly when invoking clients.
Already fixed in: 5.1.23
Bug#30296: Dynamic plugins fail to load on FreeBSD
(Apparent) workaround: ELF executables need to be linked using the -export-dynamic option to ld(1) for symbols defined in the executable to become visible to dlsym().
Already fixed in: 5.1.23
Bug#21158: mysql_config doesn't include -lmygcc
Target fix: 5.0+
Bug#18322: Explicit link to libmtmalloc breaks dlopen()
applications like DBD::mysql
Already fixed in: 5.0+
Bug#32179: aix52 5.0.50 32-bit binary without large file support
Server: DDL
Bug#28360: RENAME DATABASE destroys routines
RENAME DATABASE was intended only for updating names of pre-5.1 databases to the new 5.1 identifier encoding. It is being removed and replaced with ALTER TABLE db_name UPGRADE DATA DIRECTORY NAME.
Already fixed in: 5.1.23
Bug#17565: RENAME DATABASE destroys events
RENAME DATABASE was intended only for updating names of pre-5.1 databases to the new 5.1 identifier encoding. It's being removed and replaced with ALTER TABLE db_name UPGRADE DATA DIRECTORY NAME.
Already fixed in: 5.1.23
Bug#32633: Can not create any routine if
SQL_MODE=no_engine_substitution
Target fix: 5.1+
Bug#32158: Crash in open_table_from_share, on mysql_unpack_partition errors
Bug#30217: Views: changes in metadata behaviour between 5.0 and 5.1
Target fix: 5.1+
Server: DML
Bug#30234: Unexpected behavior using DELETE
with AS and USING
Bug#27358: INSERT DELAYED does not honour
SQL_MODE of the client
The SQL_MODE setting is ignored when a client issues INSERT DELAYED. A patch for this bug has been approved for MySQL 5.0, and is expected to be committed to 5.1 in the near future.
Already fixed in: 5.1.23
Bug#32482: crash with GROUP BY
alias_of_user_variable WITH ROLLUP
Bug#30776: MOD function produces incorrect
results with string arguments
Bug#32030: DELETE does not return an error and
deletes rows if error evaluating WHERE
Server: Events
Server: Federated
Bug#30671: ALTER SERVER causes the Server to
crash.
Issuing an ALTER SERVER statement to modify an existing SERVER specification as used by the Federated storage engine causes the server to crash.
Already fixed in: 5.1
Server: General
Bug#30763: Multi-table UPDATE with transaction
+ non-transactional table assertion failure
Already fixed in: 5.0+
Bug#31745: mysqld crash handler does not work on windows
Target fix: 5.0+
Bug#5731: key_buffer_size not properly restricted to 4GB
This issue affects 32-bit platforms only. A fix has been committed that will prevent this buffer from being set too high on a 32-bit operating system. The fix will appear in 5.1.23.
Already fixed in: 5.1.23
Bug#31928: Search fails on '1000-00-00' date after sql_mode change
Bug#31137: Assertion failed: primary_key_no == -1 || primary_key_no == 0, file .\ha_innodb.
Bug#30825: Problems when putting a non-spatial index on a
GIS column
For a spatial column with a regular (non-SPATIAL) index, queries failed if the optimizer tried to use the index. Workaround: Use IGNORE INDEX or remove the index (queries may be slow but will work).
Already fixed in: 5.1.23
Bug#32543: ERROR 2006 (HY000) at line 40: MySQL
server has gone away
Bug#31747: Valgrind error in replication tree because engines does not set all null bits
Already fixed in: 5.1+
Bug#31081: server crash in regexp function
Using REGEX with ucs2 strings could cause a server crash. Workaround: Use an 8-bit character set if possible.
Already fixed in: 5.1.23
Bug#30889: filesort and order by with float/numeric crashes server
The implementation of ROUND() for DECIMAL/NUMERIC arguments could produce results where scale > precision, or where scale larger than the maximum allowable scale. One symptom is a crash when ORDER BY refers to an expression with ROUND().
Bug#30960: processlist state '*** DEAD ***' on
recent 5.0.48 windows builds
Target fix: 5.0+
Bug#30942: select str_to_date from derived table returns varying results
When invoked with constant arguments, STR_TO_DATE() could use a cached value for the format string and return incorrect results.
Already fixed in: 5.1.23
Bug#32559: connection hangs on query with name_const
Bug#16918: Aborted_clients > Connections
The Aborted_clients value could be incremented twice when a client exits without calling mysql_close(), resulting in an artificially high value.
Already fixed in: 5.1.23
Bug#28687: Search fails on '0000-00-00' date after sql_mode change
Indexed and non-indexed searches for '0000-00-00' return different results after inserting '0000-00-00' and then setting the SQL mode to TRADITIONAL.
Already fixed in: 5.1.23
Bug#20901: CREATE privilege is enough to insert
into a table
Bug#32374: crash with filesort when selecting from federated table and view
Server: I_S
Server: InnoDB
Bug#31540: incorrect auto_increment values used for multi-row insert trigger
Server: Installing
Bug#31674: service doesn't start after upd 5.1.19 to 5.1.22 because mysqld-nt.exe renamed
Target fix: 5.1.24
Bug#28628: Config Wizard can't connect (race condition)
During the Security Settings phase, a Connection Error can occur because the installer tries to proceed before the MySQL Server being installed is fully started. Workaround: wait a few moments, then click Retry in the error dialog.
Already fixed in: 5.1
Bug#31064: mysql_upgrade.exe fails
Bug#24853: Default port not added to Vista firewall exceptions list
The effect of this bug is that remote access cannot be enabled automatically for MySQL running on a Windows Vista host. This is an installer issue. The workaround is to add an exception for port 3306 to the Windows Wista firewall manually.
Already fixed in: 5.1+
Bug#28854: MySQL.prefPane does not start or stop mysql on osx 10.5
Target fix: 5.0+
Server: Locking
Bug#27440: read_only allows create and drop database
Bug#30294: blackhole engine causes 100% with 2 alter table statements running
Bug#32395: Alter table under a impending global read lock causes a server crash
Already fixed in: 5.1+
Bug#32676: insert delayed crash with wrong column and function specified ..
Server: Logging
Bug#21557: entries in the general query log truncated at 1000 characters.
Long statements written to the general query log might be truncated. One effect is that statements cannot be copied-and-pasted to re-execute them. There is currently no workaround.
Already fixed in: 5.1.23
Server: Memory
Bug#30590: delete from memory table with composite btree primary key
Using a MEMORY table where the primary key is a compound key using two or more colums and btree indexing results in some rows not being deleted when the statement specifies only a single column from the primary key index.
Already fixed in: 5.1.23
Server: Merge
Bug#25700: merge base tables get corrupted by optimize/analyze/repair table
Bug#26377: Deadlock with MERGE and
FLUSH TABLE
A deadlock can be created if use LOCK TABLES simultaneously on a MERGE and related MYISAM table and then run FLUSH TABLE, but only if specify the MERGE table before the corresponding MYISAM table in the LOCK TABLES statement. Specifying the MYISAM table before the MERGE table does not cause the same problem.
Already fixed in: 5.1.23
Bug#26867: LOCK TABLES +
REPAIR + merge table result in memory/cpu
hogging
Using a MERGE table, issuing a REPAIR TABLE on one connection while a LOCK TABLES statement is in place and an INSERT statement on the same table is waiting on another connection causes signficant CPU/memory usage.
Already fixed in: 5.1.23
Bug#25038: Waiting TRUNCATE
Already fixed in: 5.1.23
Bug#30273: merge tables: Can't lock file (errno: 155)
Bug#30275: Merge tables: flush tables or unlock tables causes server to crash
See description for Bug#26379.
Already fixed in: 5.1.23
Bug#26379: Combination of FLUSH TABLE and
REPAIR TABLE corrupts a
MERGE table
A combination of factors is involved in this issue: (1) the table must be a MERGE table; (2) perform the statements LOCK TABLE, REPAIR TABLE, and FLUSH TABLE on the merge and base tables; (3) perform INSERTs from multiple threads into the merge table. A fix for this bug has been prepared and is expected to appear in 5.1.23.
Already fixed in: 5.1.23
Server: MyISAM
Bug#30286: spatial index cause corruption and server crash!
Setting certain values on a table using a spatial index could cause the server to crash. The cause is the calculation of certain values which exceed the expected levels when converted to the format used by the spatial indexing, leading to the incorrect key being written to the database and subsequent index updates failing. There is no known work around.
Already fixed in: 5.1.23
Bug#28837: MyISAM storage engine error (134) doing delete with self-join
Bug#30284: spatial key corruption
Already fixed in: 5.0+
Bug#31158: Spatial, Union, LONGBLOB vs
BLOB bug (crops data)
Bug#32167: another privilege bypass with
DATA/INDEX DIRECTORY
Target fix: 5.1+
Bug#29446: Specifying a myisam_sort_buffer > 4GB on 64 bit machines not possible.
On 64-bit systems, specifying a myisam_sort_buffer size greater than 4GB would cause the value to wrap on the 4GB boundary. For example, a join_buffer of 5GB would actually only reserve 1GB. On 64-bit systems this restriction will be lifted. On 32-bit systems, the myisam_sort_buffer size will be limited to 4GB.
Already fixed in: 5.1.23
Bug#31305: myisam tables crash when they are near capacity
Bug#30638: why doesn't > 4294967295 rows work in myisam on windows ?
Inserting more than 2^32 (42924967295) rows into a single MYISAM table on windows, the row count is reset to 0. The data in the table is still accessible.
Already fixed in: 5.1.23
Server: NDBAPI
Bug#29283: Ndb_cluster_connection seg faults
Target fix: 5.1+
Server: Optimizer
Bug#32403: query causes a crash due to stack and memory corruptions
Bug#32241: memory corruption due to large index map in 'Range checked for each record'
Bug#32400: Complex SELECT query returns correct
result only on some occasions
Bug#32556: assert in "using index for group-by" : is_last_prefix <= 0, file .\opt_range.cc
Bug#31075: crash in get_func_mm_tree
Queries that contained constructs of the form "WHERE col NOT IN (col, ...)" (where the same column is named both places) caused a range optimizer crash.
Already fixed in: 5.1.23
Server: PS
Bug#27430: Crash in subquery code when in PS
and table DDL changed after
PREPARE
Any user who is able to create/drop/alter tables may trivially crash the server daemon via the use of prepared statements. The only workaround to this possible DoS is to completely disallow prepared statements by setting the system variable max_prepared_stmt_count to 0.
Target fix: 5.1.25,6.0
Server: Partition
Bug#30822: ALTER TABLE COALESCE PARTITION
causes segmentation fault
A fix for this issue has been committed, and is expected to appear in MySQL 5.1.23.
Already fixed in: 5.1
Bug#32948: FKs allowed to reference partitioned table
Bug#32247: Test reports wrong value of
"AUTO_INCREMENT" (on a partitioned InnoDB
table)
A fix for this issue has been committed, and is expected to appear in MySQL 5.1.23.
Already fixed in: 5.1.23
Bug#29444: crash with partition refering to table in create-select
The fix for this issue has been committed; the server now checks to insure that an attempt to refer in a PARTITION BY clause to a column belonging to a different table from that referred to in the partition definitions is not allowed.
Already fixed in: 5.1.23
Bug#32178: server crash when select from i_s and concurrent partition management
Performing partition management statements such as ALTER TABLE ... REORGANIZE PARTITION while performing SELECT queries from the INFORMATION_SCHEMA.PARTITIONS table causes mysqld to crash. A fix for this issue has been committed, and is expected to appear in MySQL 5.1.23.
Already fixed in: 5.1.23
Bug#30695: Apostrophe in PARTITION clause
comment crashes the server
A patch has been committed for this issue and is expected to appear in 5.1.23 or 5.1.24.
Already fixed in: 5.1.23
Bug#30583: Partition on DOUBLE key +
INNODB + count(*) == crash
The issue arises with a COUNT() query on an InnoDB table using PARTITION BY KEY(double_column). It does not occur with MyISAM tables. A fix has been committed and is expected to be part of 5.1.23.
Already fixed in: 5.1.23
Bug#30459: Partitioning across disks failing on Windows Server (64-bit)
Target fix: 5.1.24
Bug#32772: partition crash 1: enum column and double
Queries involving ordered index scans could cause a server crash when a partitioned table has an ENUM, SET, or DOUBLE column, even if this column is not used as a partitioning key. A fix has been committed for this issue and is expected to appear in MySQL 5.1.23.
Already fixed in: 5.1.23
Bug#29258: Partitions: search fails for maximum unsigned bigint
If you create a table with PARTITION BY RANGE(unsigned_bigint_column) and PARTITION ... VALUES LESS THAN MAXVALUE, then try to insert the maximum possible value for BIGINT UNSIGNED (18446744073709551615), the INSERT statement apparently succeeds (in some cases with a warning, in others without one), but nothing is inserted into the table; the value is not truncated, and the statement does not produce an error.
Already fixed in: 5.1
Server: Privileges
Bug#30468: column level privileges not respected when joining tables
When expanding a * in a USING or NATURAL join, the check for table access for both tables in the join was done using the grant information of the first table
Already fixed in: 5.1.23
Server: Query Cache
Bug#30887: Server crashes on SET GLOBAL
query_cache_size=0
Target fix: 5.1
Bug#30768: query cache patch for Bug#21074 crashes on windows
The pthread_mutex_trylock() implementation is problematic on Windows and can cause a server crash when the query cache is invalidated. Workaround: Disable the query cache.
Already fixed in: 5.1.23
Server: RBR
Bug#29020: Event results not correctly replicated to slave in
RBR
When an event has a short schedule (such as EVERY 1 SECONDS), it can sometimes happen that the event executes on the master but its effects are not propagated to the slave. The fix for this issue depends on the fix for Bug#12713, which is expected in 5.1.23.
Target fix: 5.1.24
Bug#27779: Slave cannot read old rows log events.
A slave running MySQL 5.1.19 or newer cannot read logs generated by a master running MySQL 5.1.18 or earlier. This issue was apparently introduced by the fix for Bug#22583 in MySQL 5.1.18. Work is in progress on a lasting solution for this issue.
Target fix: 5.1
Bug#31552: Replication breaks when deleting rows from out-of-sync
table without PK
Target fix: 5.1.23
Bug#29549: Endians: rpl_ndb_myisam2ndb,rpl_ndb_innodb2ndb and rpl_ndb_mix_innodb failed on
Row-based logging writes rows incorrectly on big-endian machines where the storage engine sets the low byte first on big-endian machines, while little-endian machines write the fields in correct order. (The only known storage engine that does this is NDB.) In effect, this means that row-based replication from or to a big-endian machine where the table uses NDB as storage engine fails if the other engine is either non-NDB or on a little-endian machine. A fix for this issue has been committed to 5.1.23.
Already fixed in: 5.1.23
Bug#32468: delete rows event on a table with foreign key constraint fails
The deletion is successful on the master but fails on the slave. A fix for this issue is in progress. See also Bug#31552.
Target fix: 5.1+
Bug#33375: all_set corrupted on table object
Already fixed in: 5.1.23
Bug#31609: Not all RBR slave errors reported as
errors
When using row based replication, the slave stops when attempting to delete non-existent rows from a slave table without a primary key. Known to occur with MyISAM, InnoDB and NDB tables. A fix for this issue has been committed, and is expected to appear in MySQL 5.1.23. See also Bug#31552 and Bug#32468.
Target fix: 5.1+
Server: Replication
Bug#26000: SHOW SLAVE STATUS can crash mysqld
during shutdown process
The sequence of events necessary to trigger this issue is unlikely to occur during normal manual operation, but may affect monitoring tools that execute SHOW SLAVE STATUS automatically. A fix has been done for this issue in 5.0 and is expected to be made to 5.1 in time for the 5.1-GA release.
Already fixed in: 5.0+
Bug#32205: Replaying statements from mysqlbinlog fails with a syntax error, replicates fine
Bug#28086: SBR of USER()
becomes corrupted on slave
Workaround: Use row-based rather than statement-based replication of USER().
Already fixed in: 5.1.23
Bug#26980: binlog_hton->create dangling after int binlog_init(void *p)?
Target fix: 5.1+
Bug#23333: stored function + non-transac table + transac table = breaks stmt-based binlog
An UPDATE statement setting a column of a non-transactional table to the value returned by a stored function that modifies is not logged if it fails, whereas any query that modifies a non-deterministic table should be logged even if there is an error in the execution. Otherwise, the master has a row in the non-transactional table that the slave does not have. A fix for this issue is pending; it is expected to appear in 5.1.23.
Already fixed in: 5.1.23
Bug#26395: if crash during autocommit update to transactional table on master, slave fails
When a statement modifies an innodb table in autocommit mode, and the master crashes afterwards, but before writing the corresponding log event to disk, then the binlog may contain only the INSERT. In such a case, when the master restarts, InnoDB will roll back. The slave replicates the INSERT but not the ROLLBACK, and so the result is that on master the statement has been rolled back while on slave it is executed. This does not occur with AUTOCOMMIT turned off, since explicit BEGIN, COMMIT, and ROLLBACK statements are generated and logged. A fix is in progress, but it is not known at this whether it will be ready to appear in 5.1.23.
Target fix: 5.0+
Bug#32407: Impossible to do point-in-time recovery from older binlog
Target fix: 5.1+
Bug#30752: rpl_dual_pos_advance valgrind (jump depends on
uninitialized LOG_INFO)
One thread in the MySQL replication code can read uninitialized memory from the stack of another thread. This appears to be strictly an internal issue; a fix has been prepared and is expected to be committed to the server code in time for MySQL 5.1.23 or 5.1.24.
Already fixed in: 5.0+
Bug#26199: Replication of stored procedures with
BIT parameters fails
The workaround is to use parameters of INT types rather than BIT type.
Already fixed in: 5.1+
Bug#30854: Tables name show as binary in slave err msg on vm-win2003-64-b
This is probably a memory corruption issue. (The relevant error code is ER_BAD_FIELD_ERROR.)
Already fixed in: 5.1.23
Bug#31793: log event corruption causes crash
Already fixed in: 5.1.23
Bug#30790: Suspicious code in rpl_utility.cc
Already fixed in: 5.1.23
Bug#32580: mysqlbinlog cannot read binlog event generated by user variable usage
This occurs when using statement-based or mixed binlogging mode. When a user variable (such as "@something") is used inside an INSERT statement, the statement is replicated with invalid SQL syntax. A fix for this issue has been committed, and should appear in MySQL 5.1.23.
Target fix: 5.1.23
Bug#31581: 5.1-telco-6.1 -> 5.1.22. Slave crashes during starting
Target fix: 5.1+
Bug#30998: Drop View breaks replication if view does not exist
Target fix: 5.0+
Bug#28618: Skipping into the middle of a group with
SQL_SLAVE_SKIP_COUNTER is possible
A fix for this issue has been committed and is expected to be included in MySQL 5.1.23.
Already fixed in: 5.1.23
Bug#28597: Replication doesn't start after upgrading to 5.1.18
This issue was encountered when upgrading the master and slave from MySQL 5.1.16 to 5.1.18. A patch is pending and is expected to be included in MySQL 5.1.23.
Already fixed in: 5.0+
Server: SP
Bug#33618: Crash in sp_rcontext
Target fix: 5.0+
Bug#12713: Error in a stored function called from a
SELECT doesn't cause
ROLLBACK of statem
When AUTOCOMMIT=1, an error in a stored function called from a SELECT statement fails to roll back the statement. This can have consequences for row-based replication, such as the problem with scheduled events encountered in Bug#29020. A fix for this issue is expected in 5.1.23.
Target fix: 5.1.23
Bug#31898: 16M memory allocations for user variables in stored procedure
Already fixed in: 5.1.23
Bug#21801: SQL exception handlers and warnings
Target fix: 5.1.24
Server: Types
Bug#30587: mysql crashes when trying to group by
TIME div NUMBER
Using GROUP BY on an expression of the form timestamp_col DIV number caused a server crash due to incorrect calculation of number of decimals.
Already fixed in: 5.1.23
Bug#30782: Truncated UNSIGNED BIGINT columns
only in SELECT w/ CASE,
JOIN, and ORDER BY
Bug#32848: Data type conversion bug in union subselects in MySQL 5.0.38
Bug#32180: DATE_ADD treats datetime numeric
argument as DATE instead of
DATETIME
Bug#32282: TEXT silently truncates when value
is exactly 65536 bytes
Bug#32198: Comparison of DATE with
DATETIME still not using indexes correctly
Bug#30955: geomfromtext() crasher
A fix has been written for this issue and is expected to appear in MySQL 5.1.23 or 5.1.24.
Already fixed in: 5.1.23
libmysqld
Bug#32624: Error with multi queries in MySQL Embedded Server 5.1.22
Bug#31868: mysql_server_init crash when language path is not correctly set
Bug#30430: crash: ./mtr --embeded-server --ps-protocol cache_innodb func_misc ...
Bug#32063: "create table like" works case-significant only in "embedded" server (libmysqld)

User Comments
Add your own comment.