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.
  • MariaDB\ 71.8%
  • C++ 16.4%
  • C 10.4%
  • Shell 0.5%
  • Perl 0.4%
  • Other 0.3%
Find a file
Sergei Petrunia 95c286cedf MDEV-10324: Server crash in get_sel_arg_for_keypart or Assertion
The crash was caused by this problem:
get_best_group_min_max() tries to construct query plans for keys that
are not processed by the range optimizer. This wasn't a problem as long
as SEL_TREE::keys was an array of MAX_KEY elements.
However, now it is a Mem_root_array and only has elements for the used
keys, and get_best_group_min_max attempts to address beyond the end of
the array.

The obvious way to fix the crash was to port (and improve) a part of
96fcfcbd7b5120e8f64fd45985001eca8d36fbfb from mysql-5.7. This makes
get_best_group_min_max not to consider indexes that Mem_root_arrays
have no element for.

After that, I got non-sensical query plans (see MDEV-10325 for details).
Fixed that by making get_best_group_min_max to check if the index is in
table->keys_in_use_for_group_by bitmap.
2016-07-05 16:55:11 +03:00
BUILD Merge branch '10.0' into 10.1 2016-01-25 22:58:57 +01:00
client Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
cmake Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
dbug dbug: correct trace for DBUG_RETURN(func()); -- gcc only 2015-11-16 07:55:55 +01:00
debian MDEV-10032 Connect engine not installable on Xenial 2016-06-28 12:54:01 +02:00
Docs Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
extra Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
include Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
libmysql MDEV-10034 Embedded server crashes on CREATE TABLE in PS protocol 2016-05-07 09:12:48 +02:00
libmysqld Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
libservices rename {sys_vars,sql_plugin_services}.h -> *.ic 2015-06-28 12:09:46 +02:00
man Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
mysql-test MDEV-10324: Server crash in get_sel_arg_for_keypart or Assertion 2016-07-05 16:55:11 +03:00
mysys Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
mysys_ssl Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
pcre Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
plugin Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
sql MDEV-10324: Server crash in get_sel_arg_for_keypart or Assertion 2016-07-05 16:55:11 +03:00
sql-bench Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
sql-common Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
storage Merge remote-tracking branch 'refs/remotes/github/10.1' into 10.1 2016-06-28 22:13:59 +02:00
strings MDEV-8686 A user defined collation utf8_confusables doesn't work 2016-06-23 14:25:48 +04:00
support-files MDEV-10004: Galera's pc.recovery process fails in 10.1 with systemd 2016-06-27 18:03:24 -04:00
tests Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
unittest Merge branch '10.0' into 10.1 2016-03-24 09:24:02 +01:00
vio Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
win Merge branch '10.0' into 10.1 2016-06-28 22:01:55 +02:00
wsrep fix build on sol10-64 2015-10-15 12:23:04 +02:00
zlib Backport from trunk: 2014-05-07 17:09:14 +02:00
.gitattributes Merge branch 'connect/10.1' into 10.1 2016-06-28 22:12:50 +02:00
.gitignore - New version of the java JdbcInterface 2016-05-23 15:08:51 +02:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt MDEV-9601 Build client plugins, also for the cmake client-only build 2016-02-22 16:26:44 +01:00
config.h.cmake Some POWER specific optimizations 2016-03-31 16:34:56 +11:00
configure.cmake Cross Compile HAVE_FALLOC_PUNCH_HOLE_AND_KEEP_SIZE change to compile check 2016-07-01 17:10:46 +10:00
COPYING Use a new version of "COPYING", the GPL text. 2010-03-04 14:26:27 +01:00
COPYING.LESSER MWL#192: non-blocking client API, after-review fixes. 2012-01-06 12:43:18 +01:00
COPYING.thirdparty split README into the actual README and third-party licenses 2014-05-24 18:23:46 +02:00
CREDITS Updated README and CREDITS 2016-01-25 17:54:28 +02: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 various documentation updates 2012-06-18 16:57:58 -04:00
README Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +01:00
VERSION bump the VERSION 2016-07-01 11:30:38 -04:00

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.
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 Foundation and the MariaDB Corporation, 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:
http://mariadb.org/
https://mariadb.com/kb/en/
https://mariadb.com/kb/en/mariadb-vs-mysql-features/
https://mariadb.com/kb/en/mariadb-versus-mysql-features/
https://mariadb.com/kb/en/mariadb-versus-mysql-compatibility/

As MariaDB is a full replacement of MySQL, the MySQL manual at
http://dev.mysql.com/doc is generally applicable.

More help is available from the Maria Discuss mailing list
https://launchpad.net/~maria-discuss
and the #maria IRC channel on Freenode.

***************************************************************************

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, COPYING.LESSER,
and COPYING.thirdparty files.

***************************************************************************

IMPORTANT:

Bug and/or error reports regarding MariaDB should be submitted at
http://mariadb.org/jira

Bugs in the MySQL code can also be submitted at http://bugs.mysql.com

The code for MariaDB, including all revision history, can be found at:
https://github.com/MariaDB/server

***************************************************************************