Alterações na distribuição 4.1.2 (not released yet)
Functionality added or changed:
ENGINEis now a synonym for theTYPEoption forCREATE TABLEandALTER TABLE.- Added
init_connectandinit_slaveserver variables. The values should be SQL statements to be executed when each client connects or each time a slave's SQL thread starts, respectively. - C API enhancement:
SERVER_QUERY_NO_INDEX_USEDandSERVER_QUERY_NO_GOOD_INDEX_USEDflags are now set inserver_statusfield ofMariaDBstructure. It is these flags that make the query to be logged as slow ifmysqldwas started with--log-slow-queries --log-queries-not-using-indexes.
Bugs fixed:
- Fixed a bug with the
INTERVAL()function when 8 or more comparison arguments are provided. (Bug#1561) - Packaging: Fixed a bug in the Mac OS PKG
postinstallscript (mysql_install_dbwas called with an obsolete argument). - Packaging: Added missing file
mysql_create_system_tablesto the server RPM package. This bug was fixed for the 4.1.1 RPMs by updating the MySQL-server RPM fromMySQL-server-4.1.1-0toMySQL-server-4.1.1-1. The other RPMs were not affected by this change. - Fixed a bug in
myisamchkandCHECK TABLEthat sometimes resulted in a spurious errorFound key at page ..... that points to record outside datafilefor a table with aFULLTEXTindex. (Bug#1977) - Fixed a hang in full-text indexing of strings in multi-byte (all besides
utf8) charsets. (Bug#2065) - Fixed a crash in full-text indexing of UTF-8 data. (Bug#2033)
- Replication: a rare race condition in the slave SQL thread that could lead to an incorrect complaint that the relay log is corrupted. (Bug#2011)
- Replication: if an administrative command on a table (
OPTIMIZE TABLE,REPAIR TABLEetc) was run on the slave, this could sometimes stop the slave SQL thread (this did not lead to any corruption; one just had to typeSTART SLAVEto get replication going again). (Bug#1858) - Replication: in the slave SQL thread, a multi-table
UPDATEcould produce an incorrect complaint that some record was not found in one table, if theUPDATEwas preceded by aINSERT ... SELECT. (Bug#1701)