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 400c101332 MDEV-30662 SQL/PL package body does not appear in I_S.ROUTINES.ROUTINE_DEFINITION
- Moving the code from a public function trim_whitespaces()
  to the class Lex_cstring as methods. This code may
  be useful in other contexts, and also this code becomes
  visible inside sql_class.h

- Adding a helper method THD::strmake_lex_cstring_trim_whitespaces()

- Unifying the way how CREATE PROCEDURE/CREATE FUNCTION and
  CREATE PACKAGE/CREATE PACKAGE BODY work:

  a) Now CREATE PACKAGE/CREATE PACKAGE BODY also calls
  Lex->sphead->set_body_start() to remember the cpp body start inside
  an sp_head member.

  b) adding a "const char *cpp_body_end" parameter to
  sp_head::set_stmt_end().

  These changes made it possible to reuse sp_head::set_stmt_end() inside
  LEX::create_package_finalize() and remove the duplucate code.

- Renaming sp_head::m_body_begin to m_cpp_body_begin and adding a comment
  to make it clear that this member is used only during parsing, and
  points to a fragment inside the cpp buffer.

- Changed sp_head::set_body_start() and sp_head::set_stmt_end()
  to skip the calls related to "body_utf8" in cases when m_parent is not NULL.
  A non-NULL m_parent means that we're inside a package routine.
  "body_utf8" in such case belongs not to the current sphead itself,
  but to parent (the package) sphead.
  So an sphead instance of a package routine should neither initialize,
  nor finalize, nor change in any other ways the "body_utf8" related
  members of Lex_input_stream, and should not take over or copy "body_utf8"
  data from Lex_input_stream to "this".
2023-07-14 13:26:26 +04:00
BUILD Added detection of memory overwrite with multi_malloc 2023-02-27 19:25:44 +02:00
client Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
cmake MDEV-31268 Fedora MariaDB-shared replaces mariadb-connector-c 2023-07-04 09:01:01 +10:00
dbug Merge branch '10.4' into 10.5 2023-01-27 13:54:14 +01:00
debian Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
Docs
extra Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
include Optimized version of safe_strcpy() 2023-05-23 10:02:33 +03:00
libmariadb@a3bba4639f New CC 3.1 2023-05-02 20:13:48 +02:00
libmysqld Merge 10.4 into 10.5 2023-04-27 09:39:53 +03:00
libservices
man Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
mysql-test MDEV-30662 SQL/PL package body does not appear in I_S.ROUTINES.ROUTINE_DEFINITION 2023-07-14 13:26:26 +04:00
mysys Merge branch '10.4' into 10.5 2023-04-03 09:34:26 +02:00
mysys_ssl Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
plugin Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
randgen/conf
scripts Merge branch '10.4' into 10.5 2023-04-24 12:43:47 +02:00
sql MDEV-30662 SQL/PL package body does not appear in I_S.ROUTINES.ROUTINE_DEFINITION 2023-07-14 13:26:26 +04:00
sql-bench
sql-common Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
storage MDEV-31568 InnoDB protection against dual processes accessing data insufficient 2023-07-05 15:15:04 +03:00
strings Merge remote-tracking branch 'origin/10.4' into 10.5 2023-04-05 16:16:19 +04:00
support-files
tests
tpool Add missing include <cstdio> 2023-01-27 12:43:38 +11:00
unittest Merge remote-tracking branch 'origin/10.4' into 10.5 2023-04-05 16:16:19 +04:00
vio
win Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
wsrep-lib@e238c0d240 MDEV-29293 MariaDB stuck on starting commit state 2023-05-22 00:39:43 +02:00
zlib Merge branch 'merge-zlib' into 10.3 2023-04-20 17:06:19 +02:00
.clang-format
.gitattributes
.gitignore
.gitlab-ci.yml Backport GitLab CI to 10.5 2023-05-19 16:25:47 +01:00
.gitmodules Merge remote-tracking branch '10.4' into 10.5 2023-03-31 21:32:41 +02:00
appveyor.yml
BUILD-CMAKE
CMakeLists.txt
config.h.cmake
configure.cmake
CONTRIBUTING.md
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
THIRDPARTY
VERSION bump the VERSION 2023-06-07 08:10:48 -04: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