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 0fc123c595 MDEV-33772 Bad SEPARATOR value in GROUP_CONCAT on character set conversion
Item_func_group_concat::print() did not take into account
that Item_func_group_concat::separator can be of a different character set
than the "String *str" (when the printing is being done to).
Therefore, printing did not work correctly for:
- non-ASCII separators when GROUP_CONCAT is done on 8bit data
  or multi-byte data with mbminlen==1.
- all separators (even including simple ones like comma)
  when GROUP_CONCAT is done on ucs2/utf16/utf32 data (mbminlen>1).

Because of this problem, VIEW definitions did not print correctly to
their FRM files. This later led to a wrong SELECT and SHOW CREATE output.

Fix:

- Adding new String methods:

  bool append_for_single_quote_using_mb_wc(const char *str, size_t length,
                                           CHARSET_INFO *cs);

  bool append_for_single_quote_opt_convert(const char *str,
                                           size_t length,
                                           CHARSET_INFO *cs)

  which perform both escaping and character set conversion at the same time.

- Adding a new String method escaped_wc_for_single_quote(),
  to reuse the code between the old and the new methods.

- Fixing Item_func_group_concat::print() to use the new
  method append_for_single_quote_opt_convert().
2024-03-27 15:22:58 +04:00
BUILD Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
client MDEV-14448 fixup: clang -Wunused-function 2024-03-11 09:52:59 +02:00
cmake Revert "MDEV-33636: RPM caps is on mariadbd exe" 2024-03-27 13:36:31 +11:00
dbug Merge branch '10.4' into 10.5 2023-01-27 13:54:14 +01:00
debian Revert "MDEV-33636: RPM caps is on mariadbd exe" 2024-03-27 13:36:31 +11:00
Docs Merge 10.4 into 10.5 2022-09-26 13:34:38 +03:00
extra MDEV-33482: Optimize WolfSSL for improved performance 2024-02-18 01:10:41 +01:00
include Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
libmariadb@9155b19b46 Return back wolfssl v5.6.6 and new CC changed by 6b2cd78695 2024-02-12 12:43:08 +01:00
libmysqld MDEV-33092 Undefined reference to concurrency on Solaris 2024-01-10 10:16:20 +01:00
libservices MDEV-33277 In-place upgrade causes invalid AUTO_INCREMENT values 2024-02-08 10:35:45 +02:00
man Properly introduce wsrep_sst_backup script in project packaging 2024-02-13 12:03:55 +00:00
mysql-test MDEV-33772 Bad SEPARATOR value in GROUP_CONCAT on character set conversion 2024-03-27 15:22:58 +04:00
mysys Merge 10.4 into 10.5 2024-03-11 10:08:20 +02:00
mysys_ssl Merge branch '10.4' into 10.5 2023-08-01 11:52:13 +02:00
plugin fix markdown headings 2024-02-20 12:56:13 +11:00
randgen/conf
scripts Disable error messages in mysql-install-db for not writable log directory 2024-02-20 13:48:20 +02:00
sql MDEV-33772 Bad SEPARATOR value in GROUP_CONCAT on character set conversion 2024-03-27 15:22:58 +04:00
sql-bench Merge 10.4 into 10.5 2020-07-02 09:41:44 +03:00
sql-common Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
storage MDEV-32364 fixup: crash in ut_dontdump() 2024-03-22 15:07:31 +02:00
strings Merge branch '10.4' into 10.5 2024-01-31 17:32:53 +01:00
support-files MDEV-33301 memlock with systemd still not working 2024-03-27 13:36:31 +11:00
tests MDEV-33478: Tests massively fail with clang-18 -fsanitize=memory 2024-03-18 16:01:29 +02:00
tpool MDEV-32861 InnoDB hangs when running out of I/O slots 2023-11-22 16:54:41 +02:00
unittest Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
vio Merge branch '10.4' into 10.5 2022-10-26 15:26:06 +02:00
win Merge branch '10.4' into 10.5 2024-01-31 17:32:53 +01:00
wsrep-lib@7d108eb870 galera: wsrep-lib submodule update 2024-03-25 12:13:57 +01:00
zlib Merge branch 'zlib v1.3' into 10.4 2023-10-18 20:39:48 +02:00
.clang-format Merge 10.4 into 10.5 2019-12-27 21:17:16 +02:00
.gitattributes MDEV-27494 Rename .ic files to .inl 2022-01-17 16:41:51 +01:00
.gitignore Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
.gitlab-ci.yml Merge commit '10.4' into 10.5 2023-07-20 11:54:52 +02:00
.gitmodules Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
appveyor.yml Fix typo in appveyor.yml 2022-07-04 19:24:58 +02:00
BUILD-CMAKE
CMakeLists.txt Merge branch '10.4' into 10.5 2023-09-05 12:41:49 +07:00
config.h.cmake Merge branch '10.4' into 10.5 2024-01-31 17:32:53 +01:00
configure.cmake MDEV-33092 Undefined reference to concurrency on Solaris 2024-01-10 10:16:20 +01:00
CONTRIBUTING.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
COPYING
CREDITS CREDITS: re-instate Tencent Cloud 2023-01-25 16:44:26 +11:00
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Remove mention of Freenode 2021-09-22 07:15:08 +02:00
THIRDPARTY
VERSION bump the VERSION 2024-02-08 09:05:18 +01: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