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 9a833dc688 MDEV-20856 Bad values in metadata views for partitions on VARBINARY
The old code to print partition values was too complicated:
- it created new Items for character set conversion purposes.
- it mixed string conversion and partition error reporting
  in the same code blocks.

Simplifying the code as follows:

- Adding helper methods String::can_be_safely_convert_to() and
  String::append_introducer_and_hex().

- Adding DBUG_EXECUTE_IF("generate_partition_syntax_for_frm",  push_warning...)
  into generate_partition_syntax_for_frm(), to test the PARTITON
  clause written to FRM. Adding test partition_utf8-debug.test for this.

- Removing functions get_cs_converted_part_value_from_string() and
  get_cs_converted_string_value. Changing get_partition_column_description()
  to use Type_handler::partition_field_append_value() instead.
  This makes SHOW CREATE TABLE and SELECT FROM I_S.PARTITIONS
  use the same code path.

- Changing Type_handler::partition_field_append_value() not to
  call convert_charset_partition_constant(), to avoid creating a new Item
  for string conversion pursposes.
  Rewritting the code to use only String methods.

- Removing error reporting code (ER_PARTITION_FUNCTION_IS_NOT_ALLOWED)
  from Type_handler::partition_field_append_value().
  The error is correctly detected and reported on the caller level.
  So error reporting was redundant here.

Also:

- Moving methods Type_handler::partition_field_*() from sql_partition.cc
  to sql_type.cc. This fixes compilation problem with -DPLUGIN_PARTITION=NO,
  earlier introduced by the patch for MDEV-20831.
2019-10-18 10:15:17 +04:00
BUILD Merge branch '10.3' into 10.4 2019-09-06 11:53:10 +02:00
client MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
cmake Part2: MDEV-20837 Add MariaDB_FUNCTION_PLUGIN 2019-10-16 21:47:41 +04:00
dbug MDEV-20525: Fix the -std=c90 builds 2019-09-13 18:11:32 +03:00
debian Merge 10.4 into 10.5 2019-09-24 10:07:56 +03:00
Docs Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driver 2019-07-19 13:39:20 +03:00
extra MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
include Part2: MDEV-20837 Add MariaDB_FUNCTION_PLUGIN 2019-10-16 21:47:41 +04:00
libmariadb@261a5c4355 Merge 10.3 into 10.4 2019-10-10 11:19:25 +03:00
libmysqld MDEV-20768 Turn INET functions into a function collection plugin 2019-10-07 23:17:21 +04:00
libservices Merge branch '10.3' into 10.4 2019-05-19 20:55:37 +02:00
man MDEV-19887: Document --copy-s3-tables option on mysqldump man page 2019-09-12 03:22:06 -07:00
mysql-test MDEV-20856 Bad values in metadata views for partitions on VARBINARY 2019-10-18 10:15:17 +04:00
mysys MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
mysys_ssl Update WolfSSL, remove older workarounds. 2019-07-28 13:45:15 +02:00
pcre Merge branch '10.2' into 10.3 2019-09-03 13:17:32 +03:00
plugin Part1: MDEV-20837 Add MariaDB_FUNCTION_PLUGIN 2019-10-16 21:40:30 +04:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts Merge 10.4 into 10.5 2019-10-12 22:06:47 +03:00
sql MDEV-20856 Bad values in metadata views for partitions on VARBINARY 2019-10-18 10:15:17 +04:00
sql-bench Switch Perl DBI scripts from DBD::mysql to DBD::MariaDB driver 2019-07-19 13:39:20 +03:00
sql-common cleanup: don't use my_getopt_is_args_separator() 2019-10-14 10:29:30 +02:00
storage MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
strings Merge remote-tracking branch 'origin/10.4' into 10.5 2019-10-01 11:44:27 +04:00
support-files Merge remote-tracking branch 'origin/10.4' into 10.5 2019-10-01 11:44:27 +04:00
tests MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
unittest MDEV-12684 Show what config file a sysvar got a value from 2019-10-14 10:29:30 +02:00
vio Fix warning when compiling with OpenSSL. 2019-09-09 13:52:30 +02:00
win Merge remote-tracking branch 'origin/10.4' into 10.5 2019-08-13 23:49:10 +04:00
wsrep-lib@58aa3e821f MDEV-19826 10.4 seems to crash with "pool-of-threads" (#1370) 2019-08-30 08:42:24 +03:00
zlib Merge remote-tracking branch 'connect/10.2' into 10.2 2019-08-30 16:52:43 +02:00
.clang-format MDEV-13631 Make use of clang-format 2019-06-12 22:36:43 +03:00
.gitattributes Merge branch '10.0' into 10.1 2018-05-05 14:01:59 +02:00
.gitignore Merge 10.4 into 10.5 2019-08-13 18:57:00 +03: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: use galera-4 in 10.4 branch (#1226) 2019-03-14 08:20:32 +02:00
appveyor.yml Appveyor configuration and addition of badge 2019-01-10 11:58:02 +01:00
BUILD-CMAKE Minor spelling fixes in code comments, docs and output 2018-01-12 16:49:02 +02:00
CMakeLists.txt Merge 10.4 into 10.5 2019-09-06 14:25:20 +03:00
config.h.cmake Merge 10.4 into 10.5 2019-08-13 18:57:00 +03:00
configure.cmake MDEV-19696 - Cleanup gcc sync builtins 2019-07-03 12:11:22 +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 2019-09-11 09:15:28 -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