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ä 5530a93f47 MDEV-17092 use-after-poison around lock_trx_handle_wait_low
There was a race condition where the connection of the
victim of a KILL statement is disconnected while the
KILL statement is executing.

As a side effect of this fix, we will make XA PREPARE
transactions immune to KILL statements.

Starting with MariaDB 10.2, we have a pool of trx_t objects.
trx_free() would only free memory to the pool. We poison the
contents of freed objects in the pool in order to catch misuse.

trx_free(): Unpoison also trx->mysql_thd and trx->state.
This is to counter the poisoning of *trx in trx_pools->mem_free().
Unpoison only on AddressSanitizer or Valgrind, but not on MemorySanitizer.

Pool: Unpoison allocated objects only on AddressSanitizer or
Valgrind, but not on MemorySanitizer.

innobase_kill_query(): Properly protect trx, acquiring also
trx_sys_t::mutex and checking trx_t::mysql_thd and trx_t::state.
2020-05-25 18:57:14 +03:00
BUILD Updated BUILD/SETUP from MariaDB 10.5 2019-09-01 19:17:34 +03:00
client Fix GCC -Wnonnull 2020-05-14 13:36:10 +03:00
cmake Merge branch '10.1' into 10.2 2020-05-08 13:38:36 +02:00
dbug add WITH_DBUG_TRACE CMake variable 2020-04-29 20:13:14 +03:00
debian Travis-CI: Shorten deb build log to keep it under 4 MB 2020-05-17 15:46:34 +03:00
Docs MDEV-19563 Removed references to deprecated option innodb_locks_unsafe_for_binlog 2019-06-12 13:00:08 +03:00
extra MDEV-22545: my_vsnprintf behaves not as in C standard 2020-05-24 21:27:08 +02:00
include MDEV-22545: my_vsnprintf behaves not as in C standard 2020-05-24 21:27:08 +02:00
libmariadb@cdfecebc99 Fix GCC -Wstringop-truncation 2020-05-14 13:36:10 +03:00
libmysqld MDEV-18156 Assertion 0' failed or btr_validate_index(index, 0, false)' in row_upd_sec_index_entry or error code 126: Index is corrupted upon DELETE with PAD_CHAR_TO_FULL_LENGTH 2019-09-03 05:34:53 +04:00
libservices Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
man Merge 10.1 into 10.2 2020-01-31 10:53:56 +02:00
mysql-test MDEV-22545 post-fix: Fix a test result 2020-05-25 17:58:12 +03:00
mysys Merge 10.1 into 10.2 2020-05-13 11:12:31 +03:00
mysys_ssl Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
pcre Merge branch '10.1' into 10.2 2020-05-02 08:44:17 +02:00
plugin MDEV-20685: compile fixes for Solaris/OSX/AIX 2020-04-29 12:02:47 +03:00
randgen/conf
scripts MDEV-22554: galera_sst_mariabackup fails with "Failed to start mysqld.2" 2020-05-18 12:16:14 +02:00
sql MDEV-22461: JOIN::make_aggr_tables_info(): Assertion `select_options & (1ULL << 17)' failed. 2020-05-25 10:51:21 +05:30
sql-bench Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
sql-common Merge branch '10.1' into 10.2 2020-05-02 08:44:17 +02:00
storage MDEV-17092 use-after-poison around lock_trx_handle_wait_low 2020-05-25 18:57:14 +03:00
strings MDEV-22545: my_vsnprintf behaves not as in C standard 2020-05-24 21:27:08 +02:00
support-files Merge 10.1 into 10.2 2020-04-14 16:13:35 +03:00
tests Ensure that tests and programs can restore variables 2019-06-03 15:06:51 +03:00
unittest MDEV-22545: my_vsnprintf behaves not as in C standard 2020-05-24 21:27:08 +02:00
vio Merge branch '10.1' into 10.2 2020-05-02 08:44:17 +02:00
win Merge 10.1 into 10.2 2020-04-14 16:13:35 +03:00
wsrep Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
zlib Merge remote-tracking branch 'connect/10.2' into 10.2 2019-08-30 16:52:43 +02:00
.clang-format .clang-format - do not sort include files. 2019-12-03 22:22:23 +01:00
.gitattributes Merge branch '10.0' into 10.1 2018-05-05 14:01:59 +02:00
.gitignore Merge 10.1 into 10.2 2020-01-31 10:53:56 +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-CI: Remove builds that always fail to make CI useful again 2020-05-17 15:52:35 +03:00
appveyor.yml appveyor: config backport from 10.2 2020-04-13 13:49:41 +03:00
BUILD-CMAKE
CMakeLists.txt Merge branch '10.1' into 10.2 2020-05-08 13:38:36 +02:00
config.h.cmake Clean wrong cherry-pick from previous commit 2020-02-20 09:25:11 +01:00
configure.cmake Clean wrong cherry-pick from previous commit 2020-02-20 09:25:11 +01:00
COPYING Update FSF Address 2019-05-11 21:29:06 +03:00
CREDITS Update contributors 2018-09-10 16:47:44 +04:00
EXCEPTIONS-CLIENT
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
README.md Appveyor configuration and addition of badge 2019-05-09 10:56:15 +02:00
THIRDPARTY Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
VERSION bump the VERSION 2020-05-11 12:55:06 -04:00

Code status:

  • Travis CI status travis-ci.org (10.2 branch)
  • Appveyor CI status ci.appveyor.com

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.

Licensing:


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 file. Third party license information can be found in the THIRDPARTY file.


Bug Reports:

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

For reporting security vulnerabilities see: https://mariadb.org/about/security-policy/

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)