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
Sergei Petrunia c945233a19 MDEV-6657: Poor plan choice for ORDER BY key DESC optimization...
The problem was caused by the following scenario:
- range optimizer picks an index IDX1 which doesn't match the ORDER BY ...
  LIMIT clause.
- test_if_skip_sort_order() decides to switch to index IDX2 which matches
  the ORDER BY ... LIMIT.
- it runs SQL_SELECT::test_quick_select() for the second time to produce
  an quick select for IDX2.
- However, test_quick_select() would figure that full index scan on IDX1
  is still cheaper (its calculations ignore the LIMIT n).

Fixed this by
- passing force_quick_range=true to test_quick_select()
- in test_quick_select, don't consider full index scans if the mentioned
  parameter is true.

Numerous changes in .result files are caused by test_quick_select() being
run after "early/late NULLs filtering" feature has injected NOT NULL
condition.
2014-09-02 18:54:29 +04:00
BUILD MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
client MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-27 13:15:37 +03:00
cmake MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-27 13:15:37 +03:00
cmd-line-utils 5.2 merge 2014-03-16 21:03:01 +01:00
dbug 5.5.38 merge 2014-06-06 00:07:27 +02:00
debian MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
Docs MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
extra Minor cleanups, fix compiler warnings 2014-08-09 13:22:01 +03:00
include MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-27 13:15:37 +03:00
libmysql 5.5.38 merge 2014-06-06 00:07:27 +02:00
libmysqld Moving implementation of INET_ATON() INET_NTOA() into 2014-05-30 15:24:25 +04:00
libservices harmless typo fixed 2014-02-04 19:30:29 +01:00
man 5.5.38 merge 2014-06-06 00:07:27 +02:00
mysql-test MDEV-6657: Poor plan choice for ORDER BY key DESC optimization... 2014-09-02 18:54:29 +04:00
mysys MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
mysys_ssl Do the partial merge of WL#5602 correctly: 2013-12-09 12:38:02 +01:00
packaging cmake: prefer INSTALL(PROGRAMS over INSTALL(FILES 2014-06-26 11:54:12 +02:00
pcre pcre-8.35 2014-06-05 16:05:08 +02:00
plugin MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-27 13:15:37 +03:00
sql MDEV-6657: Poor plan choice for ORDER BY key DESC optimization... 2014-09-02 18:54:29 +04:00
sql-bench 5.2 merge 2014-03-16 21:03:01 +01:00
sql-common 5.5.38 merge 2014-06-06 00:07:27 +02:00
storage MDEV-6657: Poor plan choice for ORDER BY key DESC optimization... 2014-09-02 18:54:29 +04:00
strings 5.5 merge 2014-05-09 12:35:11 +02:00
support-files Fix typo. 2014-08-28 07:01:06 +03:00
tests MDEV-5995 MySQL Bug#12750920: EMBEDDED SERVER START/STOP. 2014-06-11 16:03:10 +05:00
unittest 5.5 merge 2014-05-09 12:35:11 +02:00
vio 5.1 merge 2014-03-16 13:59:44 +01:00
win 5.5.38 merge 2014-06-06 00:07:27 +02:00
wsrep MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
zlib 5.1 merge 2014-03-16 13:59:44 +01:00
.bzrignore MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
.gitattributes git: ignore errmsg.sys and typescript, better diff header for C/C++ files 2014-08-27 21:25:06 +02:00
.gitignore git: ignore errmsg.sys and typescript, better diff header for C/C++ files 2014-08-27 21:25:06 +02:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt MDEV-6247: Merge 10.0-galera to 10.1. 2014-08-26 15:43:46 +03:00
config.h.cmake cmake GUI cleanup 2014-06-23 17:39:13 +02:00
configure.cmake MDEV-6305 - UNINIT_VAR emits code in non-debug builds 2014-08-26 14:57:09 +04: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 sponsors and authors 2014-03-28 09:31:43 +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 Removed the obsolete instructions from the MySQL 5.1 manual. Instead provide a link to https://kb.askmonty.org/en/compiling-mariadb-from-source/ 2013-03-01 11:36:15 -05:00
INSTALL-WIN-SOURCE various documentation updates 2012-06-18 16:57:58 -04:00
KNOWN_BUGS.txt various documentation updates 2012-06-18 16:57:58 -04:00
README split README into the actual README and third-party licenses 2014-05-24 18:23:46 +02:00
VERSION Increased the version number 2014-07-05 15:20:49 +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 file CREDITS 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 MariadB foundation and SkySQL Ab, 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 do '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

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