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ä 3448ceb02a MDEV-13564: Implement innodb_unsafe_truncate=ON for compatibility
While MariaDB Server 10.2 is not really guaranteed to be compatible
with Percona XtraBackup 2.4 (for example, the MySQL 5.7 undo log format
change that could be present in XtraBackup, but was reverted from
MariaDB in MDEV-12289), we do not want to disrupt users who have
deployed xtrabackup and MariaDB Server 10.2 in their environments.

With this change, MariaDB 10.2 will continue to use the backup-unsafe
TRUNCATE TABLE code, so that neither the undo log nor the redo log
formats will change in an incompatible way.

Undo tablespace truncation will keep using the redo log only. Recovery
or backup with old code will fail to shrink the undo tablespace files,
but the contents will be recovered just fine.

In the MariaDB Server 10.2 series only, we introduce the configuration
parameter innodb_unsafe_truncate and make it ON by default. To allow
MariaDB Backup (mariabackup) to work properly with TRUNCATE TABLE
operations, use loose_innodb_unsafe_truncate=OFF.

MariaDB Server 10.3.10 and later releases will always use the
backup-safe TRUNCATE TABLE, and this parameter will not be
added there.

recv_recovery_rollback_active(): Skip row_mysql_drop_garbage_tables()
unless innodb_unsafe_truncate=OFF. It is too unsafe to drop orphan
tables if RENAME operations are not transactional within InnoDB.

LOG_HEADER_FORMAT_10_3: Replaces LOG_HEADER_FORMAT_CURRENT.

log_init(), log_group_file_header_flush(),
srv_prepare_to_delete_redo_log_files(),
innobase_start_or_create_for_mysql(): Choose the redo log format
and subformat based on the value of innodb_unsafe_truncate.
2018-10-11 08:17:04 +03:00
BUILD Disable rocksdb when building with ASAN 2018-01-27 14:39:33 +02:00
client Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
cmake Update libmariadb 2018-10-03 14:29:16 +01:00
dbug Make debug multi thread safe 2017-10-26 13:49:55 +03:00
debian Merge 10.1 into 10.2 2018-08-21 15:20:34 +03:00
Docs Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
extra MDEV-13564 Mariabackup does not work with TRUNCATE 2018-09-25 17:29:43 +03:00
include Merge 10.1 into 10.2 2018-10-11 08:16:08 +03:00
libmariadb@5d5c1ba556 Update libmariadb 2018-10-03 14:29:16 +01:00
libmysqld Merge remote-tracking branch 'origin/10.1' into 10.2 2017-12-22 12:23:39 +02:00
libservices MDEV-11663 Create services for functionality used by plugins 2017-04-27 19:12:38 +02:00
man Fix BB failure: file INSTALL cannot find ... man/tokuft_logdump.1. 2018-09-01 15:06:16 +03:00
mysql-test MDEV-13564: Implement innodb_unsafe_truncate=ON for compatibility 2018-10-11 08:17:04 +03:00
mysys Merge branch '10.1' into 10.2 2018-09-24 11:46:08 +02:00
mysys_ssl MDEV-14567: CRYPTO_set_mem_functions fails in FIPS mode 2018-02-07 11:45:01 +01:00
pcre Merge branch '10.1' into 10.2 2018-05-10 13:01:42 +02:00
plugin AWS KMS plugin : more detailed message when API calls fail. 2018-10-03 23:59:08 +02:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts Merge branch '10.1' into 10.2 2018-09-24 11:46:08 +02:00
sql Merge 10.1 into 10.2 2018-10-11 08:16:08 +03:00
sql-bench MDEV-15448 Remove "innodb_additional_mem_pool_size" setting from my-innodb-heavy-4G.cnf file 2018-03-03 01:59:52 +02:00
sql-common Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
storage MDEV-13564: Implement innodb_unsafe_truncate=ON for compatibility 2018-10-11 08:17:04 +03:00
strings MDEV-17001 JSON_MERGE returns nullwhen merging empty array. 2018-09-13 13:42:09 +04:00
support-files MDEV-14560 Extra engines enabled through additional config are not loaded on first installation 2018-09-22 00:20:25 +02:00
tests MDEV-14581 Server does not clear diagnostics between sessions 2018-10-05 16:48:51 +01:00
unittest MDEV-14014 Multi-Slave Replication Fail: bogus data in log event 2018-06-28 15:47:03 +02:00
vio MDEV-15596 10.2 doesn't work with openssl 1.1.1 2018-06-21 10:15:27 +02:00
win MDEV-15088 Lighter version of Windows Zip distributions 2018-09-18 21:30:03 +01:00
wsrep Prevent building WSREP without INNODB 2018-02-15 15:00:46 +00:00
zlib Build improvements and cleanups. 2017-09-08 18:22:15 +00:00
.gitattributes Merge branch '10.0' into 10.1 2018-05-05 14:01:59 +02:00
.gitignore Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
.gitmodules Use https instead of ssh(git@) for rocksdb submodule. 2016-11-15 10:00:19 -05:00
.travis.compiler.sh travis: add clang-5.0 2017-08-07 10:05:01 +04:00
.travis.yml travis: osx - xcode 8.3 -> 9.1 2017-10-31 11:21:28 +04:00
appveyor.yml Add some hints for finding bison on its usual locations on Windows. 2018-02-14 17:01:07 +00:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
config.h.cmake Merge branch '10.1' into 10.2 2018-09-14 08:47:22 +02:00
configure.cmake Merge remote-tracking branch 'origin/10.1' into 10.2 2018-03-16 14:12:00 +02:00
COPYING Use a new version of "COPYING", the GPL text. 2010-03-04 14:26:27 +01:00
COPYING.thirdparty Correct FSF address 2017-03-10 18:21:29 +01:00
CREDITS Update contributors 2018-09-10 16:47:44 +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 Better Link Spacing 2018-06-01 12:29:37 +04:00
VERSION bump the VERSION 2018-09-25 10:06:06 -04: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:

https://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 https://mariadb.org/jira

Bugs in the MySQL code can also be submitted at https://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)