|
|||||||||||
|
MySQL 5.1.20-beta has been released!
From: Daniel Fischer <df(at)mysql.com>
Date: Sat Jul 07 2007 - 03:54:52 EDT
We are proud to present to you the MySQL Server 5.1.20-beta release, a new beta version of the popular open source database. This release includes a security fix for Bug#25578 and Bug#23667: CREATE TABLE LIKE did not require any privileges on the source table. There are three incompatible changes to previous releases:
Bear in mind that this is a beta release, and as with any other pre-production release, caution should be taken when installing on production level systems or systems with critical data. For production level systems using 5.0, we would like to direct your attention to the product description of MySQL Enterprise at: http://mysql.com/products/enterprise/ The MySQL 5.1.20-beta release is now available in source and binary form for a number of platforms from our download pages at http://dev.mysql.com/downloads/ and mirror sites. Note that not all mirror sites may be up to date at this point in time, so if you can't find this version on some mirror, please try again later or choose another download site. Please also note that some of our mirrors are currently experiencing problems that may result in serving corrupted files. We are working with the mirror maintainers to resolve this. We welcome and appreciate your feedback, bug reports, bug fixes, patches etc.: http://forge.mysql.com/wiki/Contributing The following section lists the changes from version to version in the MySQL source code since the latest released version of MySQL 5.1, the MySQL 5.1.19-beta release. It can also be viewed online at http://dev.mysql.com/doc/refman/5.1/en/news-5-1-20.html
Functionality added or changed:
log tables. (Bug#27816: http://bugs.mysql.com/27816)
supported for use in XPath expressions employed as arguments
to the ExtractValue() and UpdateXML() functions.
(Bug#26518: http://bugs.mysql.com/26518)
This means that:
simplify building MySQL with SCI support. For more information
about SCI interconnects and these build scripts, see Section
15.12.1, "Configuring MySQL Cluster to use SCI Sockets."
(Bug#25470: http://bugs.mysql.com/25470)
auto_increment_offset are now supported for NDB tables.
(Bug#26342: http://bugs.mysql.com/26342)
history between sessions.
files. (Bug#29074: http://bugs.mysql.com/29074)
parameter was added to allow setting of a separate watchdog
timeout for memory allocation during startup of the data
nodes. See Section 15.4.4.5, "Defining Data Nodes," for more
information. (Bug#28899: http://bugs.mysql.com/28899)
allocation unit for table memory using the MaxAllocate
configuration parameter.
with an underlying table, CHECK TABLE now displays information about which table caused the problem. (Bug#26976: http://bugs.mysql.com/26976)
Bugs fixed:
on the source table. (Bug#25578: http://bugs.mysql.com/25578)
In addition, CREATE TABLE LIKE was not isolated from
alteration by other connections, which resulted in various
errors and incorrect binary log order when trying to execute
concurrently a CREATE TABLE LIKE statement and either DDL
statements on the source table or DML or DDL statements on the
target table. (Bug#23667: http://bugs.mysql.com/23667)
MySQL 5.1 different from the numbers in MySQL 5.0. In MySQL
5.1, error numbers have been changed to match the MySQL 5.0
values: Error codes with value of 1458 or higher have changed
in MySQL 5.1 now. Client applications designed to work with
MySQL 5.1 with hard-coded error code values (for example, in
statements such as if (mysql_errno(mysql) == 1463) { ... })
need to be updated in the source code. All clients designed to
work with MySQL 5.1 that test error codes (for example, in
statements such as if (mysql_errno(mysql) ==
ER_VIEW_RECURSIVE) { ... }) should be recompiled. Existing 5.0
clients should now work, without changes or recompilation,
against servers for MySQL 5.1.20 or higher.
(Bug#29245: http://bugs.mysql.com/29245)
with a query containing a call to the GROUP_CONCAT() function
caused results from previous queries to be redisplayed in the
current result. The fix for this includes replacing a BLOB
value used internally for sorting with a VARCHAR. This means
that for long results (more than 65,535 bytes), it is possible
for truncation to occur; if so, an appropriate warning is
issued. (Bug#23856: http://bugs.mysql.com/23856,
Bug#28273: http://bugs.mysql.com/28273)
list in the WHERE condition on an NDB table could cause mysqld
to crash. (Bug#29185: http://bugs.mysql.com/29185)
bottom entry could sometime be left "cold" rather than "hot",
violating the rules for stack
group and participating in a GCP crashed before they had
written their respective P0.sysfile files, QMGR could refuse
to start, issuing an invalid Insufficient nodes for restart
error instead.(Bug#29167: http://bugs.mysql.com/29167)
the DBTUP kernel block.
transaction objects by BLOB handling code.
(Bug#28724: http://bugs.mysql.com/28724)
column caused ndb_restore to fail.
nonexistent host. (Bug#28847: http://bugs.mysql.com/28847)
ndb_mgm_set_timeout() function was incorrectly interpreted as
seconds rather than as milliseconds.
was not shut down before log cleanup began.
(Bug#28949: http://bugs.mysql.com/28949)
nodes (in addition to the master node) tried to update active
status due to a local checkpoint. Now only the master updates
the active status. (Bug#28717: http://bugs.mysql.com/28717)
WAIT COMPLETED did not include the backup ID.
(Bug#27640: http://bugs.mysql.com/27640)
could lead to node failure under high load. This issue
affected MySQL 5.1.19 only.
tables to a MySQL Cluster, it was not possible to determine
exactly what had been applied following a shutdown of the
slave cluster or mysqld process.
swapping to disk. (Bug#28751: http://bugs.mysql.com/28751)
the cluster was offset by 1 from the value set in config.ini.
This meant that setting InitialNoOpenFilesto the same value
always caused an error.
system restart. (Bug#28726: http://bugs.mysql.com/28726)
high usage of the redo buffer caused data nodes to fail.
(Bug#28653: http://bugs.mysql.com/28653)
following a version upgrade, the data nodes could forcibly
shut down due to page and buffer management failures.
(Bug#28525: http://bugs.mysql.com/28525)
keys of multiple tables could result in data corruption.
(Bug#28719: http://bugs.mysql.com/28719)
open error. (Bug#28770: http://bugs.mysql.com/28770)
on a Disk Data table having one or more large VARCHAR columns
could cause data nodes to fail.
duplicate key inserts on the slave.
server was started with binary logging disabled. Now it is set
to MIXED. (Bug#28752: http://bugs.mysql.com/28752)
ujis produced incorrect results.
(Bug#28127: http://bugs.mysql.com/28127)
(Bug#28860: http://bugs.mysql.com/28860)
cause the server to crash.
overflow and crash the server or clients.
(Bug#24924: http://bugs.mysql.com/24924)
forgot to call mysql_thread_end() would get this error: Error
in my_thread_global_end()
repeated prepared statements.
circumstances silently update rows when it should not have.
(Bug#28904: http://bugs.mysql.com/28904)
(Bug#28953: http://bugs.mysql.com/28953)
executed on a table containing on a MyISAM table containing
billions of rows. (Bug#27029: http://bugs.mysql.com/27029)
LOGS statement caused a deadlock if the general log or the
slow query log was enabled.
when row-based logging was in effect, even though the
binlogging format in effect does not effect the fact that
TRUNCATE is always logged as a statement.
(Bug#29130: http://bugs.mysql.com/29130)
or RENAME SCHEMA could cause the server to hang, with 100% CPU
usage. (Bug#28211: http://bugs.mysql.com/28211)
0x00 following a dump and reload, which could cause problems
with data using multi-byte character sets such as GBK
(Chinese). This was due to a problem with SELECT INTO OUTFILE
whereby LOAD DATA later incorrectly interpreted 0x5C as the
second byte of a multi-byte sequence rather than as the
SOLIDUS ("\") character, used by MySQL as the escape
character. (Bug#26711: http://bugs.mysql.com/26711)
another query in the UNION contained a nondeterministic
function, the result was still cached. For example, this query
was incorrectly cached:
(Bug#28921: http://bugs.mysql.com/28921)
multi-column update was not recorded in the binlog, rather
than being marked by an event and a corresponding error code.
(Bug#27716: http://bugs.mysql.com/27716)
use the same values for representing the same storage engine
states. (Bug#27684: http://bugs.mysql.com/27684)
X, affecting replication and FEDERATED tables.
(Bug#26664: http://bugs.mysql.com/26664)
unintentionally started before mysqld had dropped privileges
(to run as an unprivileged user). This caused signaling
between threads in mysqld to fail when the privileges were
finally dropped. (Bug#28690: http://bugs.mysql.com/28690)
different result when the expression was assigned to a user
variable. (Bug#28494: http://bugs.mysql.com/28494)
an updated record and records of merged tables was arbitrary
and dependant on the order of records in the merged tables
during the execution of the SELECT statement.
(Bug#28716: http://bugs.mysql.com/28716)
tables did not return NULL-complemented rows when conditions
were evaluated to FALSE.
clause and a subquery in the WHERE condition could cause an
assertion failure. (Bug#28561: http://bugs.mysql.com/28561)
INSERT ... ON DUPLICATE KEY UPDATE if the CLIENT_FOUND_ROWS
flag was set. (Bug#28505: http://bugs.mysql.com/28505)
being renamed. The table contents were not changed.
(Bug#28427: http://bugs.mysql.com/28427)
fixed length could result in incorrect truncation of the
number if the columns's length was greater than 31.
(Bug#28121: http://bugs.mysql.com/28121)
ignore trailing spaces from strings before comparisons. This
could result in duplicate records being successfully inserted
into a MEMORY table with unique key constraints. A consequence
was that internal MEMORY tables used for GROUP BY calculation
contained duplicate rows that resulted in duplicate-key errors
when converting those temporary tables to MyISAM, and that
error was incorrectly reported as a table is full error.
(Bug#27643: http://bugs.mysql.com/27643)
option value and reduced it to the next lower 512 byte
boundary. The resulting block size was not a power of two.
Setting the key_cache_block_size system variable to a value
that is not a power of two resulted in MyISAM table
corruption. (Bug#23068: http://bugs.mysql.com/23068,
Bug#25853: http://bugs.mysql.com/25853,
Bug#28478: http://bugs.mysql.com/28478)
the CHECK OPTION clause while updating a multiple-table view
that included such a clause.
was not always set correctly.
was incorrectly initialized, producing a runtime error for
binaries built using Visual C++ 2005.
(Bug#28250: http://bugs.mysql.com/28250)
incorrectly rounded. (Bug#27984: http://bugs.mysql.com/27984)
failure due to occurrence of a deadlock when committing
changes. (Bug#28652: http://bugs.mysql.com/28652)
different results for empty strings.
tables. (Bug#28862: http://bugs.mysql.com/28862)
error was thrown, allowing the calling statement to continue
without noticing the problem. This could lead to incorrect
results. (Bug#27563: http://bugs.mysql.com/27563)
explicit default value, '0000-00-00' was used as the default
even if the SQL mode included the NO_ZERO_DATE mode to
prohibit that value. A similar problem occurred for DATETIME
columns. (Bug#27507: http://bugs.mysql.com/27507)
low_priority_updates system variable.
(Bug#26162: http://bugs.mysql.com/26162)
function for full-text parser plugins.
(Bug#18839: http://bugs.mysql.com/18839)
query cache. (This should not happen because UUID() is
non-deterministic.) (Bug#28897: http://bugs.mysql.com/28897)
only 32-bit values (not 64-bit values) on some platforms.
(Bug#28149: http://bugs.mysql.com/28149)
(Bug#28580: http://bugs.mysql.com/28580)
with PREPARE resulted in an error.
report ER_NO_SUCH_TABLE but sometimes reported
ER_TABLE_NOT_LOCKED. (Bug#27907: http://bugs.mysql.com/27907)
thread could cause brief table unavailability in other
threads. (Bug#24988: http://bugs.mysql.com/24988)
for an IN predicate. The predicate was treated as if the
affected column contains NULL, but if the IN predicate is
inside NOT, incorrect results could be returned.
(Bug#22855: http://bugs.mysql.com/22855)
setuid() call. (Bug#21723: http://bugs.mysql.com/21723)
segmentation fault. (Bug#10218: http://bugs.mysql.com/10218)
overflows. (Bug#29015: http://bugs.mysql.com/29015)
statement handle and then somehow changes stmt->param_count to
a different number, mysql_stmt_execute() could crash the
client or server. (Bug#28934: http://bugs.mysql.com/28934)
incorrect results under some circumstances.
(Bug#28895: http://bugs.mysql.com/28895)
(1582) was introduced to replace ER_DUP_ENTRY (1062) so that
the key name could be provided instead of the key number. This
was unnecessary, so ER_DUP_ENTRY is used again and the key
name is printed. The incompatibility introduced in 5.1.15 no
longer applies. (Bug#28842: http://bugs.mysql.com/28842)
another thread executes a statement that aborts these locks
(such as REPAIR TABLE, OPTIMIZE TABLE, or CHECK TABLE), the
thread might get a table object with an incorrect lock type in
the table cache. The result is table corruption or a server
crash. (Bug#28574: http://bugs.mysql.com/28574)
#mysql50# prefix in the database or table name. The server now
will not open such tables. (This prefix is reserved by
mysql_upgrade for accessing 5.0 tables that have names not yet
encoded for 5.1.) (Bug#26402: http://bugs.mysql.com/26402)
inserts on partitioned tables with a great many partitions
could cause the server to crash.
(Bug#27597: http://bugs.mysql.com/27597)
produced different results than using a constant with the same
value as the INTEGER column. (Bug# 28980)
INFORMATION_SCHEMA.PARTITIONS table had the wrong default
value. (Bug#28007: http://bugs.mysql.com/28007)
PARTITION could result in inconsistent data, or cause the
server to crash, if done concurrently with other accesses to
the table. (Bug#28477: http://bugs.mysql.com/28477,
Bug#28488: http://bugs.mysql.com/28488)
default character set could fail to return the right rows.
(Bug#28878: http://bugs.mysql.com/28878)
of the date string could return incorrect results.
(Bug#28778: http://bugs.mysql.com/28778)
than creating a table with the same name could cause the
information of the deleted table to remain accessible, leading
to index errors. (Bug#28309: http://bugs.mysql.com/28309)
database or table name contained an underscore would fail.
(Bug#18660: http://bugs.mysql.com/18660)
crash. (Bug#28811: http://bugs.mysql.com/28811)
(Bug#28763: http://bugs.mysql.com/28763)
causing thread-creation failure for tests that use many
threads. (Bug#28333: http://bugs.mysql.com/28333)
RENAME was unnecessarily (and incorrectly) lowercasing the
entire path when not on a case-insensitive filesystem, causing
the statement to fail.
Subqueries are forbidden in the BEFORE clause now.
(Bug#28553: http://bugs.mysql.com/28553)
temporary table outgrew heap memory reserved for it and the
remaining disk space was not big enough to store the table as
a MyISAM table. (Bug#28449: http://bugs.mysql.com/28449)
versions both are available, statically built binaries can
crash because the linker defaults to LinuxThreads when linking
statically, but calls to external libraries (such as libnss)
are resolved to NPTL versions. This cannot be worked around in
the code, so instead if a crash occurs on such a binary/OS
combination, print an error message that provides advice about
how to fix the problem.
(Bug#21476: http://bugs.mysql.com/21476)
(Bug#28372: http://bugs.mysql.com/28372)
correctly. (Bug#17707: http://bugs.mysql.com/17707)
modifying the column. (Bug#28631: http://bugs.mysql.com/28631)
views were no longer displayed by SHOW CREATE VIEW. This was a
regression introduced by the fix for
started from another connection caused mysqld to crash.
(Bug#28598: http://bugs.mysql.com/28598)
mysql_fix_privilege_tables did not upgrade the system tables
relating to the Event Scheduler correctly.
(Bug#28521: http://bugs.mysql.com/28521)
5.0.24a returned LONGLONG prior to this. The previous behavior
was restored. This issue was introduced by the fix for
Bug#19714: http://bugs.mysql.com/19714.
(Bug#28492: http://bugs.mysql.com/28492)
over a grouping subselect could lead to a server crash. This
occurred only when materialization of the derived tables
required creation of an auxiliary temporary table, an example
being when a grouping operation was carried out with usage of
a temporary table. (Bug#28728: http://bugs.mysql.com/28728)
syntactically incorrect queries in the binary log, replacing
some parameters with variable names rather than variable
values. This could lead to incorrect results on replication
slaves. (Bug#12826: http://bugs.mysql.com/12826,
Bug#26842: http://bugs.mysql.com/26842)
Windows, caused the server to hang. For example, if you opened
a connection to the server and then issued the command SELECT
LOAD_FILE('a:test');, with no floppy in the drive, the server
was inaccessible until the modal pop-up dialog box was
dismissed. (Bug#28366: http://bugs.mysql.com/28366)
incorrectly causing a buffer overrun. This in turn caused
mysqldump to crash silently and produce incomplete output.
(Bug#28522: http://bugs.mysql.com/28522)
table_name caused mysqld to fail.
PREPARE s FROM "SELECT 1 LIMIT ?" was not replicated
correctly. (Bug#28464: http://bugs.mysql.com/28464)
CREATE TABLE ... AS SELECT @v did not return the same data
type. (Bug#26277: http://bugs.mysql.com/26277)
INFILE caused mysqld to crash.
versions of Solaris. This issue is believed to be present only
in MySQL 5.1.12 and later.
replicated to a slave.
had been disabled would raise an error without running the
query. The query now executes, with a warning generated noting
that the use of a disabled index has been ignored.
(Bug#28476: http://bugs.mysql.com/28476)
the data direct from a remote MySQL server would cause a core
dump when dumping certain binary log events.
(Bug#17654: http://bugs.mysql.com/17654)
master in the middle of a transaction would cause all slaves
to stop replicating. (Bug#22725: http://bugs.mysql.com/22725)
cause a replicating slave to terminate replication with a
'different error message on slave and master' error.
(Bug#28244: http://bugs.mysql.com/28244)
multibyte characters could fail to execute.
(Bug#27876: http://bugs.mysql.com/27876)
alteration were not re-execution friendly, causing problems in code that: repeatedly altered a table; repeatedly created and dropped a table; opened and closed a cursor on a table, altered the table, and then reopened the cursor; used ALTER TABLE to change a table's current AUTO_INCREMENT value; created indexes on utf8 columns. (Bug#4968: http://bugs.mysql.com/4968, Bug#6895: http://bugs.mysql.com/6895, Bug#19182: http://bugs.mysql.com/19182, Bug#19733: http://bugs.mysql.com/19733, Bug#22060: http://bugs.mysql.com/22060, Bug#24879: http://bugs.mysql.com/24879) * The query SELECT /*2*/ user, host, db, info FROM
INFORMATION_SCHEMA.PROCESSLIST WHERE (command!='Daemon' ||
user='event_scheduler') AND (info IS NULL OR info NOT LIKE
'%processlist%') ORDER BY INFO yielded inconsistent results.
(Bug#26338: http://bugs.mysql.com/26338)
Scheduler to COM_DEBUG could cause the server to crash.
(Bug#28075: http://bugs.mysql.com/28075)
caused the server to crash.
again (even if valid) crashed the server.
(Bug#27898: http://bugs.mysql.com/27898)
caused memory corruption possibly leading to a crash of the server. (Bug#28558: http://bugs.mysql.com/28558) -- Daniel Fischer, Product Engineer +46 18174400 ext. 4537 MySQL GmbH, Radlkoferstr. 2, D-81373 Muenchen www.mysql.com Geschaeftsfuehrer: Kaj Arnoe HRB Muenchen 162140 Are you MySQL certified? mysql.com/certification 49.011, 8.376 -- MySQL Announce Mailing List For list archives: http://lists.mysql.com/announce To unsubscribe: http://lists.mysql.com/announce?unsub=lists@pantek.comReceived on Sat Jul 7 10:17:29 2007 This archive was generated by hypermail 2.1.8 : Tue Jul 10 2007 - 21:33:58 EDT |
||||||||||
|
|||||||||||