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.
Go to file
Marko Mäkelä a87bb96ecb MDEV-36234: Add innodb_linux_aio
This controls which linux implementation to use for
innodb_use_native_aio=ON.

innodb_linux_aio=auto is equivalent to innodb_linux_aio=io_uring when
it is available, and falling back to innodb_linux_aio=aio when not.

Debian packaging is no longer aio exclusive or uring, so
for those older Debian or Ubuntu releases, its a remove_uring directive.
For more recent releases, add mandatory liburing for consistent packaging.

WITH_LIBAIO is now an independent option from WITH_URING.

LINUX_NATIVE_AIO preprocessor constant is renamed to HAVE_LIBAIO,
analogous to existing HAVE_URING.

tpool::is_aio_supported(): A common feature check.

is_linux_native_aio_supported(): Remove. This had originally been added in
mysql/mysql-server@0da310b69d in 2012
to fix an issue where io_submit() on CentOS 5.5 would return EINVAL
for a /tmp/#sql*.ibd file associated with CREATE TEMPORARY TABLE.
But, starting with commit 2e814d4702 InnoDB
temporary tables will be written to innodb_temp_data_file_path.
The 2012 commit said that the error could occur on "old kernels".
Any GNU/Linux distribution that we currently support should be based
on a newer Linux kernel; for example, Red Hat Enterprise Linux 7
was released in 2014.

tpool::create_linux_aio(): Wraps the Linux implementations:
create_libaio() and create_liburing(), each defined in separate
compilation units (aio_linux.cc, aio_libaio.cc, aio_liburing.cc).

The CMake definitions are simplified using target_sources() and
target_compile_definitions(), all available since CMake 2.8.12.
With this change, there is no need to include ${CMAKE_SOURCE_DIR}/tpool
or add TPOOL_DEFINES flags anymore, target_link_libraries(lib tpool)
does all that.

This is joint work with Daniel Black and Vladislav Vaintroub.
2025-06-23 13:51:52 +03:00
.github
BUILD
client Merge 10.6 into 10.11 2025-05-26 08:10:47 +03:00
cmake MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
dbug
debian MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
Docs
extra MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
include MDEV-37019 MSAN_STAT_WORKAROUND macro remove 2025-06-18 16:46:21 +10:00
libmariadb@55abb32038 new CC 2025-04-20 20:48:21 +02:00
libmysqld MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
libservices
man Merge branch '10.6' into 10.11 2024-07-22 15:14:50 +02:00
mysql-test MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
mysys Enable CMake CRC32 / CRYPTO tests for aarch64 with Clang 2025-06-23 09:32:31 +10:00
mysys_ssl MDEV-35838 libressl support differences in CRYPTO_set_mem_functions 2025-01-14 12:13:22 +11:00
plugin MDEV-12305 FTBFS on hurd-i386 due to PATH_MAX 2025-06-18 09:11:28 +10:00
randgen/conf
scripts Replace deprecated CMAKE_COMPILER_IS_GNU(CC|CXX) with CMAKE_(C|CXX)_COMPILER_ID 2025-06-03 18:16:35 +10:00
sql MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
sql-bench
sql-common Merge branch '10.6' into 10.11 2025-01-30 11:55:13 +01:00
storage MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
strings MDEV-36765: JSON Histogram cannot handle >1 byte characters 2025-06-09 21:15:30 +03:00
support-files Merge branch '10.6' into 10.11 2025-04-26 10:47:03 +02:00
tests Merge branch '10.6' into 10.11 2025-04-26 10:47:03 +02:00
tpool MDEV-36234: Add innodb_linux_aio 2025-06-23 13:51:52 +03:00
unittest Merge 10.6 into 10.11 2024-12-19 15:38:53 +02:00
vio Merge branch '10.6' into 10.11 2025-05-26 16:59:32 +02:00
win MDEV-36938 Fix MSI install failure when ADDLOCAL omits required runtime 2025-06-10 14:23:31 +02:00
wsrep-lib@e55f01ce1e MDEV-36422 Build fails with cmake 4.0.0 due to wsrep 2025-04-10 13:05:19 +02:00
zlib
.clang-format
.gitattributes
.gitignore Merge 10.6 into 10.11 2025-05-21 07:36:35 +03:00
.gitlab-ci.yml Merge branch '10.6' into 10.11 2024-07-22 15:14:50 +02:00
.gitmodules
appveyor.yml Fix appveyor config 2025-04-18 19:53:55 +02:00
BUILD-CMAKE
CMakeLists.txt Replace deprecated CMAKE_COMPILER_IS_GNU(CC|CXX) with CMAKE_(C|CXX)_COMPILER_ID 2025-06-03 18:16:35 +10:00
config.h.cmake Cleanup CMake code (Windows-specific) 2025-04-04 08:58:40 +02:00
configure.cmake Merge branch '10.6' into 10.11 2024-10-29 15:24:38 +01:00
CONTRIBUTING.md
COPYING
CREDITS Update sponsors 2024-08-12 09:32:30 +01:00
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Update README for branch choice 2024-05-29 13:49:32 +01:00
THIRDPARTY
VERSION bump the VERSION 2025-05-22 10:23:36 -04:00

Code status:

  • Appveyor CI status ci.appveyor.com

MariaDB: The innovative open source 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/

Getting the code, building it and testing it

Refer to the following guide: https://mariadb.org/get-involved/getting-started-for-developers/get-code-build-test/ which outlines how to build the source code correctly and run the MariaDB testing framework, as well as which branch to target for your contributions.

Help

More help is available from the Maria Discuss mailing list https://lists.mariadb.org/postorius/lists/discuss.lists.mariadb.org/ and MariaDB's Zulip instance, https://mariadb.zulipchat.com/

Licensing


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