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ä d0ef1aaf61 MDEV-12123 Page contains nonzero PAGE_MAX_TRX_ID
When MDEV-6076 repurposed the field PAGE_MAX_TRX_ID, it was assumed
that the field always was 0 in the clustered index of old data files.
This was not the case in IMPORT TABLESPACE (introduced in MySQL 5.6
and MariaDB 10.0), which is writing the transaction ID to all index
pages, including clustered index pages.

This means that on a data file that was at some point of its life
IMPORTed to an InnoDB instance, MariaDB 10.2.4 or later could interpret
the transaction ID as a persistent AUTO_INCREMENT value.

This also means that future changes that repurpose PAGE_MAX_TRX_ID
in the clustered index may cause trouble with files that were imported
at some point of their life.

There is a separate minor issue that InnoDB is writing PAGE_MAX_TRX_ID
to every secondary index page, even though it is only needed on leaf
pages. From now on we will write PAGE_MAX_TRX_ID as 0 to non-leaf pages,
just to be able to keep stricter debug assertions.

btr_root_raise_and_insert(): Reset the PAGE_MAX_TRX_ID field on non-root
pages of the clustered index, and on the no-longer-leaf root page of
secondary indexes.

AbstractCallback::is_root_page(): Remove. Use page_is_root() instead.

PageConverter::update_index_page(): Reset the PAGE_MAX_TRX_ID to 0
on other pages than the clustered index root page or secondary index
leaf pages.
2017-04-19 07:59:24 +03:00
BUILD Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
client Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
cmake Fix building aws_key_management on Linux 2017-04-06 23:11:57 +00:00
dbug Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
debian Post-fixes for "Rename plugin rocksdb_se to rocksdb" 2017-04-02 23:38:28 +03: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-03-30 12:48:42 +02:00
include Fix the build on Windows. 2017-04-02 17:29:04 +00:00
libmariadb@d138735629 include C/C fix for binding of int values to string variables 2017-04-01 19:32:36 +02:00
libmysqld Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
libservices Correct FSF address 2017-03-10 18:21:29 +01:00
man 10.2 man pages 2017-04-09 14:24:39 -04:00
mysql-test MDEV-12123 Page contains nonzero PAGE_MAX_TRX_ID 2017-04-19 07:59:24 +03:00
mysys remove my_hash_const_element(), use Hash_set in C++ code 2017-03-31 19:22:19 +02:00
mysys_ssl Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
pcre Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
plugin MDEV-12452 MDEV-12453 : Fix building rocksdb and aws_key_management on macOS 2017-04-06 18:40:12 -04:00
randgen/conf
scripts Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
sql MDEV-10355 Weird error message upon CREATE TABLE with DEFAULT 2017-04-18 17:36:05 -07: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 Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
storage MDEV-12123 Page contains nonzero PAGE_MAX_TRX_ID 2017-04-19 07:59:24 +03:00
strings Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
support-files Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
tests Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
unittest Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
vio Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
win Merge 10.1 into 10.2 2017-04-06 09:52:25 +03:00
wsrep Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02: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.2' of github.com:MariaDB/server into bb-10.2-mariarocks 2017-04-04 17:12:06 +03:00
.gitmodules Use https instead of ssh(git@) for rocksdb submodule. 2016-11-15 10:00:19 -05:00
.travis.compiler.sh Travis: Test more suites, latest OSX 2017-04-10 22:36:21 -04:00
.travis.yml Travis: Test more suites, latest OSX 2017-04-10 22:36:21 -04:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt Merge 10.2 into bb-10.2-mariarocks 2017-03-31 01:14:00 +03:00
config.h.cmake Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
configure.cmake Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
COPYING
COPYING.thirdparty Correct FSF address 2017-03-10 18:21:29 +01:00
CREDITS Update MariaDB Foundation sponsors 2017-02-28 17:15:36 +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 2017-04-05 14:43:24 -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: 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)