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ä 2c39f69d34 MDEV-22203: WSREP_ON is unnecessarily expensive WITH_WSREP=OFF
If the server is compiled WITH_WSREP=OFF, we should avoid evaluating
conditions on a global variable that is constant.

WSREP_ON_: Renamed from WSREP_ON. Defined only WITH_WSREP=ON.

WSREP_ON: Defined as unlikely(WSREP_ON_).

wsrep_on(): Defined as WSREP_ON && wsrep_service->wsrep_on_func().

The reason why we have wsrep_on() at all is that the macro WSREP(thd)
depends on the definition of THD, and that is intentionally an opaque
data type for InnoDB. So, we cannot avoid invoking wsrep_on(), but
we can evaluate the less expensive condition WSREP_ON before calling
the function.
2020-04-24 15:25:39 +03:00
BUILD Merge branch '10.3' into 10.4 2019-09-06 11:53:10 +02:00
client Merge 10.3 into 10.4 2020-04-22 18:18:51 +03:00
cmake Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
dbug Merge 10.2 into 10.3 2019-12-12 14:41:51 +02:00
debian Travis-CI: Shorten deb build log to keep it under 4 MB 2020-04-06 09:07:02 +03:00
Docs Merge branch '10.3' into 10.4 2019-06-14 22:10:50 +02:00
extra Merge 10.3 into 10.4 2020-04-22 18:18:51 +03:00
include MDEV-22203: WSREP_ON is unnecessarily expensive WITH_WSREP=OFF 2020-04-24 15:25:39 +03:00
libmariadb@1768cb6c32 new (fixed) version of CC. 2020-03-18 09:33:26 +01:00
libmysqld Merge branch '10.3' into 10.4 2019-09-06 11:53:10 +02:00
libservices Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
man Merge branch '10.3' into 10.4 2020-02-11 14:40:35 +01:00
mysql-test MDEV-22203: WSREP_ON is unnecessarily expensive to evaluate 2020-04-24 13:12:46 +03:00
mysys Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
mysys_ssl Update WolfSSL, remove older workarounds. 2019-07-28 13:45:15 +02:00
pcre Lintian complains on spelling error 2019-12-02 12:41:13 +02:00
plugin Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
randgen/conf
scripts Merge 10.3 into 10.4 2020-04-22 18:18:51 +03:00
sql MDEV-22203: WSREP_ON is unnecessarily expensive WITH_WSREP=OFF 2020-04-24 15:25:39 +03:00
sql-bench Lintian complains on spelling error 2019-12-02 12:41:13 +02:00
sql-common Merge branch '10.3' into 10.4 2020-01-21 23:15:02 +01:00
storage MDEV-22203: WSREP_ON is unnecessarily expensive WITH_WSREP=OFF 2020-04-24 15:25:39 +03:00
strings Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
support-files Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
tests MDEV-17592 Create MariaDB named commands/symlinks 2019-06-17 12:26:26 +02:00
unittest Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
vio Fix warning when compiling with OpenSSL. 2019-09-09 13:52:30 +02:00
win Merge 10.3 into 10.4 2020-04-16 12:12:26 +03:00
wsrep-lib@d0255569b0 MDEV-22051: Protocol::end_statement(): Assertion `0' failed on Galera node upon DDL attempt with conflicting lock 2020-04-08 16:42:18 +03:00
zlib Fixed compiler warnings from gcc 7.4.1 2020-01-29 23:23:55 +02:00
.clang-format .clang-format - do not sort include files. 2019-12-03 22:22:23 +01:00
.gitattributes
.gitignore Merge branch '10.3' into 10.4 2020-02-11 14:40:35 +01:00
.gitmodules Fix github urls of submodules 2019-07-02 17:25:36 +04:00
.travis.compiler.sh
.travis.yml Travis-CI: Add missing build dependency dh-exec 2020-04-06 09:06:51 +03:00
appveyor.yml appveyor: config backport from 10.2 2020-04-13 13:49:41 +03:00
BUILD-CMAKE
CMakeLists.txt Merge 10.3 into 10.4 2020-03-30 14:50:23 +03:00
config.h.cmake Merge commit '10.3' into 10.4 2020-03-11 13:27:10 +01:00
configure.cmake Merge commit '10.3' into 10.4 2020-03-11 13:27:10 +01:00
CONTRIBUTING.md
COPYING
CREDITS
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
THIRDPARTY Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
VERSION bump the VERSION 2020-01-27 15:12:05 -05:00

Code status:

  • Travis CI status travis-ci.org (10.4 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 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.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/library/new-and-old-releases/

https://mariadb.org/

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.

Live QA for beginner contributors

MariaDB has a dedicated time each week when we answer new contributor questions live on Zulip and IRC. 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/

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