MariaDB server is a community developed fork of MySQL server. Started by core members of the original MySQL team, MariaDB actively works with outside developers to deliver the most featureful, stable, and sanely licensed open SQL server in the industry.
Find a file
Marko Mäkelä 2af28a363c MDEV-11782: Redefine the innodb_encrypt_log format
Write only one encryption key to the checkpoint page.
Use 4 bytes of nonce. Encrypt more of each redo log block,
only skipping the 4-byte field LOG_BLOCK_HDR_NO which the
initialization vector is derived from.

Issue notes, not warning messages for rewriting the redo log files.

recv_recovery_from_checkpoint_finish(): Do not generate any redo log,
because we must avoid that before rewriting the redo log files, or
otherwise a crash during a redo log rewrite (removing or adding
encryption) may end up making the database unrecoverable.
Instead, do these tasks in innobase_start_or_create_for_mysql().

Issue a firm "Missing MLOG_CHECKPOINT" error message. Remove some
unreachable code and duplicated error messages for log corruption.

LOG_HEADER_FORMAT_ENCRYPTED: A flag for identifying an encrypted redo
log format.

log_group_t::is_encrypted(), log_t::is_encrypted(): Determine
if the redo log is in encrypted format.

recv_find_max_checkpoint(): Interpret LOG_HEADER_FORMAT_ENCRYPTED.

srv_prepare_to_delete_redo_log_files(): Display NOTE messages about
adding or removing encryption. Do not issue warnings for redo log
resizing any more.

innobase_start_or_create_for_mysql(): Rebuild the redo logs also when
the encryption changes.

innodb_log_checksums_func_update(): Always use the CRC-32C checksum
if innodb_encrypt_log. If needed, issue a warning
that innodb_encrypt_log implies innodb_log_checksums.

log_group_write_buf(): Compute the checksum on the encrypted
block contents, so that transmission errors or incomplete blocks can be
detected without decrypting.

Rewrite most of the redo log encryption code. Only remember one
encryption key at a time (but remember up to 5 when upgrading from the
MariaDB 10.1 format.)
2017-02-15 08:07:20 +02:00
BUILD Cleanups 2017-01-11 09:19:45 +02:00
client Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
cmake MDEV-12056 mysql_config outputs non-existing mysqlclient 2017-02-14 18:07:42 +01:00
dbug MDEV-11611 fix Ninja build 2017-01-29 23:05:10 +01:00
debian Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
Docs Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
extra Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
include Merge branch 'bb-10.2-serg-merge' into 10.2 2017-02-11 09:45:34 +01:00
libmariadb@cae391f7bf update libmariadb, and fix debian packaging for client libs 2016-12-22 10:17:26 +01:00
libmysqld Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
libservices rename {sys_vars,sql_plugin_services}.h -> *.ic 2015-06-28 12:09:46 +02:00
man Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
mysql-test MDEV-11782: Redefine the innodb_encrypt_log format 2017-02-15 08:07:20 +02:00
mysys Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
mysys_ssl Fix for MDEV-11174: 2017-02-01 12:14:37 +01:00
pcre Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
plugin Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts MDEV-11170: MariaDB 10.2 cannot start on MySQL 5.7 datadir: 2017-02-14 07:46:58 +02:00
sql cleanup: mtr startup warning 2017-02-14 20:43:41 +01:00
sql-bench fix sql-bench test-table-elimination view leak. see MDEV-10310 for details 2016-07-12 22:21:49 +02:00
sql-common fix the ABI and stop slave hang problem 2016-10-21 13:37:48 +02:00
storage MDEV-11782: Redefine the innodb_encrypt_log format 2017-02-15 08:07:20 +02:00
strings MDEV-11858 json_merge() concatenates instead of merging. 2017-02-10 01:05:27 +04:00
support-files Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
tests Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
unittest MDEV-11469 JSON_SEARCH returns incorrect results. 2016-12-09 12:26:32 +04:00
vio Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
win More verbose output for the Wix linker (light.exe) 2017-02-08 12:19:28 +00:00
wsrep MDEV-8791 - AIX: Unresolved Symbols during linking 2016-10-31 12:18:23 +04:00
zlib Backport from trunk: 2014-05-07 17:09:14 +02:00
.gitattributes Merge branch 'connect/10.1' into 10.1 2016-06-28 22:12:50 +02:00
.gitignore Merge branch '10.1' into 10.2 2017-02-10 17:01:45 +01:00
.gitmodules really add a submodule 2016-09-12 17:51:52 +02:00
.travis.yml Travis: parallel_jobs=3 2016-12-17 09:56:21 +04:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt MDEV-11708 cmake -DWITH_ASAN no longer works 2017-01-29 23:04:54 +01:00
config.h.cmake MDEV-11195: Correct enablement of NUMA in innodb/xtradb 2016-11-01 11:09:47 +11:00
configure.cmake Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
COPYING Use a new version of "COPYING", the GPL text. 2010-03-04 14:26:27 +01:00
COPYING.LESSER MWL#192: non-blocking client API, after-review fixes. 2012-01-06 12:43:18 +01:00
COPYING.thirdparty split README into the actual README and third-party licenses 2014-05-24 18:23:46 +02:00
CREDITS Update contributors 2016-09-19 12:31:19 +04:00
EXCEPTIONS-CLIENT MDEV-5645 MariaDB-5.5.35 - references are made to an "EXCEPTIONS-CLIENT" file but it does not exist 2014-05-31 13:18:56 +02:00
INSTALL-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
INSTALL-WIN-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
KNOWN_BUGS.txt various documentation updates 2012-06-18 16:57:58 -04:00
README.md Markdown README for a prettier github representation 2016-08-24 15:00:59 +10:00
VERSION bump the VERSION 2016-12-24 09:54:23 -05:00

MariaDB: drop-in replacement for MySQL

MariaDB is designed as a drop-in replacement of MySQL(R) with more features, new storage engines, fewer bugs, and better performance.

MariaDB is brought to you by the MariaDB Foundation. Please read the CREDITS file for details about the MariaDB Foundation, and who is developing MariaDB.

MariaDB is developed by many of the original developers of MySQL who now work for the MariadB Foundation and the MariaDB Corporation, and by many people in the community.

MySQL, which is the base of MariaDB, is a product and trademark of Oracle Corporation, Inc. For a list of developers and other contributors, see the Credits appendix. You can also run 'SHOW authors' to get a list of active contributors.

A description of the MariaDB project and a manual can be found at: http://mariadb.org/ https://mariadb.com/kb/en/ https://mariadb.com/kb/en/mariadb-vs-mysql-features/ https://mariadb.com/kb/en/mariadb-versus-mysql-features/ https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

As MariaDB is a full replacement of MySQL, the MySQL manual at http://dev.mysql.com/doc is generally applicable.

Help:

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss and the #maria IRC channel on Freenode.

License:


NOTE:

MariaDB is specifically available only under version 2 of the GNU General Public License (GPLv2). (I.e. Without the "any later version" clause.) This is inherited from MySQL. Please see the README file in the MySQL distribution for more information.

License information can be found in the COPYING, COPYING.LESSER, and COPYING.thirdparty files.


Bug Reports:

Bug and/or error reports regarding MariaDB should be submitted at http://mariadb.org/jira

Bugs in the MySQL code can also be submitted at http://bugs.mysql.com

The code for MariaDB, including all revision history, can be found at: https://github.com/MariaDB/server


Code status:

  • tests status travis-ci.org (10.2 branch)