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ä b69191bbb2 MDEV-26645: Fix UB in Item_func_plus and Item_func_minus
An integer overflow in an expression like a+b or a-b is undefined behavior.
The compiler is allowed to assume that no such overflow is possible,
and optimize away some code accordingly.

Item_func_plus::int_op(), Item_func_minus::int_op(): Always check
for overflow.

Depending on the compiler and the compilation options, a test might fail:

CURRENT_TEST: main.func_math
mysqltest: At line 425: query 'SELECT 9223372036854775807 + 9223372036854775807' succeeded - should have failed with errno 1690...

A similar bug had been fixed earlier in
commit 328edf8560.
2022-02-18 16:31:54 +02:00
.github
BUILD
client Merge 10.4 into 10.5 2022-02-17 11:58:25 +02:00
cmake MDEV-27813 Windows, compiling : RelWithDebInfo should use /Ob2 2022-02-11 14:27:57 +01:00
dbug
debian Remove --upgrade-info option from mysql_upgrade 2022-01-27 14:52:08 +02:00
Docs
extra Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
include Merge branch '10.5' into bb-10.5-release 2022-02-09 08:57:41 +01:00
libmariadb@f6c3d9fd2a new CC 2022-01-26 10:42:01 +01:00
libmysqld Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
libservices
man Merge 10.4 into 10.5 2022-02-17 11:58:25 +02:00
mysql-test Merge 10.4 into 10.5 2022-02-17 11:58:25 +02:00
mysys Fixes some compiler issues on AIX ( 2022-02-08 14:32:28 +02:00
mysys_ssl Merge branch '10.3' into 10.4 2022-01-30 09:46:52 +01:00
plugin Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
randgen/conf
scripts Merge branch '10.4' into 10.5 2022-02-10 21:04:51 +01:00
sql MDEV-26645: Fix UB in Item_func_plus and Item_func_minus 2022-02-18 16:31:54 +02:00
sql-bench
sql-common
storage Merge 10.4 into 10.5 2022-02-17 11:58:25 +02:00
strings Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
support-files Merge 10.4 into 10.5 2022-02-17 11:58:25 +02:00
tests Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
tpool MDEV-27796 Windows - starting server with huge innodb-log-buffer-size may fail 2022-02-10 17:25:12 +01:00
unittest Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
vio Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
win MDEV-27446 Windows, MSI - fix redistributable merge module path for VS2022 2022-01-08 19:56:13 +01:00
wsrep-lib@edd141127c MDEV-27615 Assertion `server_id.is_undefined() == false' failed 2022-01-27 09:13:21 +02:00
zlib
.clang-format
.gitattributes MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
.gitignore
.gitmodules
.travis.compiler.sh
.travis.yml
appveyor.yml Windows, appveyor - use VS2022 2022-01-09 13:56:50 +01:00
BUILD-CMAKE
CMakeLists.txt Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
config.h.cmake
configure.cmake Merge branch '10.4' into 10.5 2022-02-01 20:33:04 +01:00
CONTRIBUTING.md
COPYING
CREDITS
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md
THIRDPARTY
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