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
Sergei Petrunia 8db9aa496c MDEV-28268: Server crashes in Expression_cache_tracker::fetch_current_stats
(cherry-pick into preview-10.9-MDEV-27021-explain tree)

Expression_cache_tmptable object uses an Expression_cache_tracker object
to report the statistics.

In the common scenario, Expression_cache_tmptable destructor sets
tracker->cache=NULL. The tracker object survives after the expression
cache is deleted and one may call cache_tracker->fetch_current_stats()
for it with no harm.

However a degenerate cache with no parameters does not set
tracker->cache=NULL in Expression_cache_tmptable destructor which
results in an attempt to use freed data in the
cache_tracker->fetch_current_stats() call.

Fixed by setting tracker->cache to NULL and wrapping the assignment into
a function.
2022-04-29 11:00:37 +03:00
.github Modify PR template to encourage contribution of automated tests 2021-11-17 23:11:45 +02:00
BUILD Merge 10.3 into 10.4 2022-03-29 11:13:18 +03:00
client Merge 10.8 into 10.9 2022-04-28 15:54:03 +03:00
cmake Merge branch 10.8 into 10.9 2022-04-06 14:33:27 +10:00
dbug Vanilla cleanups and refactorings 2021-10-26 17:07:46 +02:00
debian Merge 10.8 into 10.9 2022-04-28 15:54:03 +03:00
Docs Clean up logcheck.ignore.* configs and unify MariaDB.org links with https 2020-04-23 10:07:07 +03:00
extra Merge 10.7 into 10.8 2022-04-27 10:43:00 +03:00
include Merge 10.8 into 10.9 2022-04-28 15:54:03 +03:00
libmariadb@e10c10f05b MDEV-28051 Error compiling libmariadb/plugins/compress/c_zstd.c 2022-03-16 09:10:16 +02:00
libmysqld MDEV-27743 Remove Lex::charset 2022-03-22 17:12:15 +04:00
libservices MDEV-12933 sort out the compression library chaos 2021-10-27 15:55:14 +02:00
man MDEV-20119: Implement the --do-domain-ids, --ignore-domain-ids, and --ignore-server-ids options for mysqlbinlog 2022-04-19 11:09:24 -06:00
mysql-test MDEV-28268: Server crashes in Expression_cache_tracker::fetch_current_stats 2022-04-29 11:00:37 +03:00
mysys Merge 10.7 into 10.8 2022-04-27 10:43:00 +03:00
mysys_ssl MDEV-27778 md5 in FIPS crashes with OpenSSL 3.0.0 2022-02-24 19:18:19 +01:00
plugin Merge 10.8 into 10.9 2022-04-06 13:33:33 +03:00
randgen/conf
scripts Merge 10.8 into 10.9 2022-04-28 15:54:03 +03:00
sql MDEV-28268: Server crashes in Expression_cache_tracker::fetch_current_stats 2022-04-29 11:00:37 +03:00
sql-bench MDEV-24854: Change innodb_flush_method=O_DIRECT by default 2021-02-20 11:58:58 +02:00
sql-common MDEV-19275 Provide SQL service to plugins. 2021-10-19 17:35:06 +02:00
storage Merge 10.8 into 10.9 2022-04-28 15:54:03 +03:00
strings MDEV-28319: Assertion `cur_step->type & JSON_PATH_KEY' failed in json_find_path 2022-04-26 16:13:19 +05:30
support-files Merge 10.7 into 10.8 2022-02-17 14:57:49 +02:00
tests Merge 10.6 into 10.7 2022-04-26 18:59:40 +03:00
tpool Merge 10.6 into 10.7 2022-04-14 13:31:07 +03:00
unittest MDEV-22224: Support JSON Path negative index 2022-04-13 21:16:32 +05:30
vio Merge 10.5 into 10.6 2022-04-12 09:26:02 +03:00
win Merge branch '10.7' into 10.8 2022-02-17 12:43:29 +01:00
wsrep-lib@edd141127c MDEV-26217 Failing assertion: list.count > 0 in ut_list_remove or Assertion `lock->trx == this' failed in dberr_t trx_t::drop_table 2022-04-26 18:09:03 +03:00
zlib Merge branch '10.3' into 10.4 2020-12-25 09:13:28 +01:00
.clang-format Merge 10.4 into 10.5 2019-12-27 21:17:16 +02:00
.gitattributes Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
.gitignore Added scripts/wsrep_sst_backup to .gitignore 2022-04-12 11:33:52 +03:00
.gitlab-ci.yml Merge 10.7 into 10.8 2022-03-11 10:49:49 +02:00
.gitmodules Add stub for building ColumnStore 2020-06-19 21:04:17 +02:00
.travis.compiler.sh MDEV-19780 Remove the TokuDB storage engine 2020-05-14 10:11:47 +03:00
.travis.yml MDEV-25288 follow-up: Remove traces of unstable-tests 2021-06-11 15:59:02 +03:00
appveyor.yml Merge branch '10.5' into 10.6 2022-02-03 17:01:31 +01:00
BUILD-CMAKE
CMakeLists.txt Merge 10.6 into 10.7 2022-04-26 18:59:40 +03:00
config.h.cmake Added support to MEM_ROOT for write protected memory 2021-07-18 19:59:35 +03:00
configure.cmake Merge branch '10.6' into 10.7 2022-02-04 14:11:46 +01:00
CONTRIBUTING.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
COPYING
CREDITS Update contributors 2022-03-23 10:47:27 +11:00
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
THIRDPARTY Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
VERSION bump the VERSION 2022-02-12 15:43:53 -05:00

Code status:

  • Appveyor CI status ci.appveyor.com

MariaDB: The open source relational database

MariaDB was 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 and the MariaDB Corporation. 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 Corporation, the MariaDB Foundation 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-compatibility/

https://mariadb.com/kb/en/new-and-old-releases/

Help

More help is available from the Maria Discuss mailing list https://launchpad.net/~maria-discuss, MariaDB's Zulip instance, https://mariadb.zulipchat.com/

Live QA for beginner contributors

MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip. From 8:00 to 10:00 UTC on Mondays, and 10:00 to 12:00 UTC on Thursdays, anyone can ask any questions theyd like, and a live developer will be available to assist.

New contributors can ask questions any time, but we will provide immediate feedback during that interval.

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/

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