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
Alexander Barkov 9840bb21ef MDEV-23366 ROUND(18446744073709551615,rand()*0) returns a wrong result
Changing that in case of *INT and hex hybrid input:
- ROUND(x,NULL) creates a column with the same type as x.
  The old code created a DOUBLE column, which was not relevant at all.
  This change simplifies the code a lot.

- ROUND(x,non_constant) creates a column of the INT, BIGINT or DECIMAL
  data type (depending on the exact type of x).
  The old code created a column of the DOUBLE data type,
  which lead to precision loss. Hence MDEV-23366.

- ROUND(bigint_30,negative_constant) creates a column of the DECIMAL(30,0)
  data type. The old code created DECIMAL(29,0), which looked strange:
  the data type promoted to a higher one, but max length reduced.
  Now the length attribute is preserved.
2020-08-03 10:53:06 +04:00
BUILD Merge branch '10.3' into 10.4 2019-09-06 11:53:10 +02:00
client MDEV-23237 mariadb.sys has too many privileges 2020-07-31 09:00:05 +02:00
cmake Merge 10.3 into 10.4 2020-07-20 15:34:59 +03:00
dbug Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
debian Merge 10.3 into 10.4 2020-07-02 07:39:33 +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-07-31 18:09:08 +03:00
include Merge 10.3 into 10.4 2020-07-31 18:09:08 +03:00
libmariadb@ce74fd0c40 update C/C 2020-05-27 15:56:40 +02:00
libmysqld Merge remote-tracking branch 'origin/10.3' into 10.4 2020-07-03 20:26:09 +03: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-23366 ROUND(18446744073709551615,rand()*0) returns a wrong result 2020-08-03 10:53:06 +04:00
mysys Merge 10.3 into 10.4 2020-07-31 18:09:08 +03:00
mysys_ssl WolfSSL fixes 2020-05-08 12:49:53 +02:00
pcre Merge branch '10.2' into 10.3 2020-05-04 16:47:11 +02:00
plugin MDEV-19603 MariaDB 10.4 does not build on OpenBSD due to the use of libdl 2020-07-31 11:10:41 +02:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts MDEV-23237 mariadb.sys has too many privileges 2020-07-31 09:00:05 +02:00
sql MDEV-23366 ROUND(18446744073709551615,rand()*0) returns a wrong result 2020-08-03 10:53:06 +04:00
sql-bench Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
sql-common Merge 10.3 into 10.4 2020-07-31 18:09:08 +03:00
storage Merge 10.3 into 10.4 2020-07-31 18:09:32 +03:00
strings Merge 10.3 into 10.4 2020-07-02 07:39:33 +03:00
support-files Merge 10.3 into 10.4 2020-06-06 22:05:32 +03:00
tests Merge 10.3 into 10.4 2020-07-02 07:39:33 +03:00
unittest Merge 10.3 into 10.4 2020-07-02 07:39:33 +03:00
vio Merge 10.3 into 10.4 2020-07-31 18:09:08 +03:00
win Merge branch '10.3' into 10.4 2020-06-05 18:00:14 +02:00
wsrep-lib@ae4e58ba03 MDEV-19603 MariaDB 10.4 does not build on OpenBSD due to the use of libdl 2020-07-31 11:10:41 +02: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 Merge branch '10.0' into 10.1 2018-05-05 14:01:59 +02:00
.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: use galera-4 in 10.4 branch (#1226) 2019-03-14 08:20:32 +02:00
.travis.yml Travis-CI: Remove builds that always fail to make CI useful again 2020-05-17 15:52:35 +03:00
appveyor.yml appveyor: config backport from 10.2 2020-04-13 13:49:41 +03:00
BUILD-CMAKE Minor spelling fixes in code comments, docs and output 2018-01-12 16:49:02 +02:00
CMakeLists.txt Merge 10.3 into 10.4 2020-07-20 15:34:59 +03:00
config.h.cmake Merge commit '10.3' into 10.4 2020-03-11 13:27:10 +01:00
configure.cmake aarch64: use compiler flag outline-atomics if available 2020-07-23 15:08:54 +03:00
CONTRIBUTING.md Add CONTRIBUTING file and modify README file about live QA regarding new contributors 2018-12-04 23:15:33 +04:00
COPYING Update FSF Address 2019-05-11 21:29:06 +03:00
CREDITS Update contributors 2018-09-10 16:47:44 +04:00
EXCEPTIONS-CLIENT MDEV-5645 MariaDB-5.5.35 - references are made to an "EXCEPTIONS-CLIENT" file but it does not exist 2014-05-31 13:18:56 +02:00
INSTALL-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
INSTALL-WIN-SOURCE Update AskMonty and Atlassian references to MariaDB 2016-03-08 15:24:01 +02:00
KNOWN_BUGS.txt Changed some MySQL names in messages to MariaDB 2018-12-09 20:49:05 +02:00
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-05-11 12:59:25 -04: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