11.07.2015 Views

MySQL 5.7 Release Notes - Download - MySQL

MySQL 5.7 Release Notes - Download - MySQL

MySQL 5.7 Release Notes - Download - MySQL

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MySQL</strong> <strong>5.7</strong> <strong>Release</strong> <strong>Notes</strong>the master. For more information, see Replication of Server-Side Help Tables. (Bug #69564, Bug#17015822)• The empty string provided for numeric or enumeration options (for example, --port="") producedinconsistent or confusing behavior. Such empty option values now are rejected with an error. (Bug#68055, Bug #16102788)• The mysqladmin flush-logs command now permits optional log types to be given, to specifywhich logs to flush. Following the flush-logs command, you can provide a space-separated listof one or more of the following log types: binary, engine, error, general, relay, slow. Thesecorrespond to the log types that can be specified for the FLUSH LOGS SQL statement. Thanks toDaniël van Eeden for the patch. (Bug #60878, Bug #12368203)• The deprecated storage_engine system variable has been removed. Usedefault_storage_engine instead.• The mysql client now indicates whether USE statements produced warnings. (Bug #29965, Bug#11746951)• The deprecated mysqlbug, mysql_waitpid, and mysql_zap utilities have been removed from<strong>MySQL</strong> distributions.• The deprecated mysqlhotcopy utility has been removed from <strong>MySQL</strong> distributions. Alternativesinclude mysqldump and <strong>MySQL</strong> Enterprise Backup.• <strong>MySQL</strong> builds on Windows using Visual Studio now require Visual Studio 2013 or later. The previousrequirement was Visual Studio 2010 or later.• The Boost library now is required to build <strong>MySQL</strong>. Two new CMake options enable control over thelibrary source location, and whether to download it automatically:• -DWITH_BOOST=path_name specifies the Boost library directory location. It is also possible tospecify the Boost location by setting the BOOST_ROOT or WITH_BOOST environment variable.• -DDOWNLOAD_BOOST=bool specifies whether to download the Boost source if it is not present inthe specified location. The default is OFF.For example, if you normally build <strong>MySQL</strong> placing the object output in the bld subdirectory of your<strong>MySQL</strong> source tree, you can build with Boost like this:mkdir bldcd bldcmake .. -DDOWNLOAD_BOOST=ON -DWITH_BOOST=$HOME/my_boostThis causes Boost to be downloaded into the my_boost directory under your home directory. If therequired Boost version is already there, no download is done. If the required Boost version changes,the newer version is downloaded.If Boost is already installed locally and your compiler finds the Boost header files on its own, it maynot be necessary to specify the preceding CMake options. However, if the version of Boost requiredby <strong>MySQL</strong> changes and the locally installed version has not been upgraded, you may have buildproblems. Using the CMake options should give you a successful build.• The custom rwlock implementation for Windows was replaced with standard Windows API calls. Asa result of this change, Windows binaries require Windows 7 / Windows Server 2008 R2 or newer. Inparticular, Windows binaries no longer work on Windows Vista or Windows Server 2008 (plain, notR2).Bugs Fixed• Performance; Replication: When processing the dump thread, a semisynchronous replicationmaster checked whether or not the dump thread came from a semisynchronous slave by checking5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!