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.
  • MariaDB\ 71.8%
  • C++ 16.4%
  • C 10.4%
  • Shell 0.5%
  • Perl 0.4%
  • Other 0.3%
Find a file
Monty 57c526ffb8 Added detection of memory overwrite with multi_malloc
This patch also fixes some bugs detected by valgrind after this
patch:

- Not enough copy_func elements was allocated by Create_tmp_table() which
  causes an memory overwrite in Create_tmp_table::add_fields()
  I added an ASSERT() to be able to detect this also without valgrind.
  The bug was that TMP_TABLE_PARAM::copy_fields was not correctly set
  when calling create_tmp_table().
- Aria::empty_bits is not allocated if there is no varchar/char/blob
  fields in the table.  Fixed code to take this into account.
  This cannot cause any issues as this is just a memory access
  into other Aria memory and the content of the memory would not be used.
- Aria::last_key_buff was not allocated big enough. This may have caused
  issues with rtrees and ma_extra(HA_EXTRA_REMEMBER_POS) as they
  would use the same memory area.
- Aria and MyISAM didn't take extended key parts into account, which
  caused problems when copying rec_per_key from engine to sql level.
- Mark asan builds with 'asan' in version strihng to detect these in
  not_valgrind_build.inc.
  This is needed to not have main.sp-no-valgrind fail with asan.
2023-02-27 19:25:44 +02:00
.github
BUILD Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
client Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
cmake Merge branch '10.3' into 10.4 2023-01-28 18:22:55 +01:00
dbug Merge branch '10.4' into 10.5 2023-01-27 13:54:14 +01:00
debian MDEV-30534: Remove EOL Debian version 9 (stretch) from autobake-deb.sh 2023-02-08 15:31:59 +11:00
Docs Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
extra Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
include Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
libmariadb@d204e83104 MDEV-30423 Deadlock on Replica during BACKUP STAGE BLOCK_COMMIT on XA transactions 2023-01-23 19:01:48 +02:00
libmysqld Merge 10.4 into 10.5 2022-12-13 14:39:18 +02:00
libservices
man MDEV-23230 wsrep files installed when built without WSREP (#2334) 2022-11-28 18:21:03 +00:00
mysql-test Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
mysys Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
mysys_ssl Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
plugin Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
randgen/conf
scripts Update 10.5 HELP tables 2023-01-24 11:28:37 +11:00
sql Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
sql-bench
sql-common Merge branch '10.4' into 10.5 2022-05-09 22:04:06 +02:00
storage Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
strings Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
support-files rpm: server-post - use mariadb-install-db 2022-12-14 20:52:06 +00:00
tests Merge 10.4 into 10.5 2022-10-25 11:26:37 +03:00
tpool Add missing include <cstdio> 2023-01-27 12:43:38 +11:00
unittest Merge 10.4 into 10.5 2022-11-30 13:10:52 +02:00
vio Merge branch '10.4' into 10.5 2022-10-26 15:26:06 +02:00
win Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
wsrep-lib@275a0af8c5 MDEV-30419 Fix unhandled exception thrown from wsrep-lib 2023-01-19 14:55:50 +02:00
zlib zlib: remove redundant and generated files 2022-07-26 16:46:27 +02:00
.clang-format
.gitattributes MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
.gitignore Merge branch '10.4' into 10.5 2022-05-09 22:04:06 +02:00
.gitmodules Merge 10.4 into 10.5 2023-01-03 17:08:42 +02:00
appveyor.yml Fix typo in appveyor.yml 2022-07-04 19:24:58 +02:00
BUILD-CMAKE
CMakeLists.txt Fix a typo in CmakeLists.txt 2023-01-03 08:47:08 +11:00
config.h.cmake Merge 10.4 into 10.5 2022-10-12 11:29:32 +03:00
configure.cmake Merge 10.4 into 10.5 2022-10-06 08:29:56 +03:00
CONTRIBUTING.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
COPYING
CREDITS CREDITS: re-instate Tencent Cloud 2023-01-25 16:44:26 +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
VERSION bump the VERSION 2023-02-06 09:59:18 -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