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
Igor Babaev 291be49474 MDEV-23811: With large number of indexes optimizer chooses an inefficient plan
This bug could manifest itself for a query with WHERE condition containing
top level OR formula such that each conjunct contained a single-range
condition supported by the same index. One of these range conditions must
be fully covered by another range condition that is used later in the OR
formula. Additionally at least one of these condition should be ANDed with
a sargable range condition supported by a different index.

There were several attempts to fix related problems for OR conditions after
the backport of range optimizer code from MySQL (commit
0e19f3e36f). Unfortunately the first of these
fixes contained typo remained unnoticed until recently. This typo bug led
to rejection of valid range accesses. This patch fixed this typo bug.
The fix revealed another two bugs: one in a constructor for SEL_ARG,
the other in the function tree_or(). Both are fixed in this patch.
2020-10-06 13:12:11 -07:00
BUILD Updated BUILD/SETUP from MariaDB 10.5 2019-09-01 19:17:34 +03:00
client Merge branch '10.1' into 10.2 2020-09-28 14:03:46 +05:30
cmake Merge branch '10.1' into 10.2 2020-08-02 11:05:29 +02:00
dbug Merge 10.1 into 10.2 2020-07-01 12:03:55 +03:00
debian travis: 10.2 only - make faster 2020-10-06 22:22:03 +11:00
Docs MDEV-19563 Removed references to deprecated option innodb_locks_unsafe_for_binlog 2019-06-12 13:00:08 +03:00
extra MDEV-23711 fixup: GCC -Og -Wmaybe-uninitialized 2020-09-21 16:29:29 +03:00
include MDEV-23101 : SIGSEGV in lock_rec_unlock() when Galera is enabled 2020-09-10 13:18:12 +03:00
libmariadb@a746c3af44 C/C v3.1.9 2020-08-02 11:18:30 +02:00
libmysqld MDEV-20377: Make WITH_MSAN more usable 2020-07-01 17:23:00 +03:00
libservices Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
man Merge branch '10.1' into 10.2 2020-08-02 11:05:29 +02:00
mysql-test MDEV-23811: With large number of indexes optimizer chooses an inefficient plan 2020-10-06 13:12:11 -07:00
mysys UBSAN UndefinedBehaviorSanitizer: undefined-behavior ../mysys/hash.c:798:9 2020-10-03 12:38:43 +03:00
mysys_ssl Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
pcre Merge branch '10.1' into 10.2 2020-05-02 08:44:17 +02:00
plugin Fix GCC 10.2.0 -Og -Wmaybe-uninitialized 2020-08-11 15:58:16 +03:00
randgen/conf
scripts Merge branch '10.1' into 10.2 2020-09-28 14:03:46 +05:30
sql MDEV-23811: With large number of indexes optimizer chooses an inefficient plan 2020-10-06 13:12:11 -07:00
sql-bench Merge 10.1 into 10.2 2020-07-01 12:03:55 +03:00
sql-common UBSAN: Fix a bit shift overflow 2020-09-23 12:42:30 +03:00
storage MDEV-23897 SIGSEGV on commit with innodb_lock_schedule_algorithm=VATS 2020-10-06 22:35:43 +03:00
strings MDEV-22387: Do not violate __attribute__((nonnull)) 2020-09-23 12:47:49 +03:00
support-files Merge 10.1 into 10.2 2020-09-22 15:21:43 +03:00
tests Merge branch '10.1' into 10.2 2020-09-28 14:03:46 +05:30
unittest Merge 10.1 into 10.2 2020-08-20 06:00:36 +03:00
vio Merge branch '10.1' into 10.2 2020-05-02 08:44:17 +02:00
win Fix appveyor build. 2020-06-05 17:56:34 +02:00
wsrep Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
zlib Merge remote-tracking branch 'connect/10.2' into 10.2 2019-08-30 16:52:43 +02:00
.clang-format .clang-format - do not sort include files. 2019-12-03 22:22:23 +01:00
.gitattributes
.gitignore Merge 10.1 into 10.2 2020-01-31 10:53:56 +02:00
.gitmodules
.travis.compiler.sh
.travis.yml Travis-CI: Remove builds that always fail to make CI useful again 2020-05-17 15:52:35 +03:00
appveyor.yml appveyor: config backport from 10.2 2020-04-13 13:49:41 +03:00
BUILD-CMAKE
CMakeLists.txt Merge 10.1 into 10.2 2020-07-20 14:53:24 +03:00
config.h.cmake Merge branch '10.1' into 10.2 2020-08-02 11:05:29 +02:00
configure.cmake Merge branch '10.1' into 10.2 2020-08-02 11:05:29 +02:00
COPYING
CREDITS
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md
THIRDPARTY Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
VERSION bump the VERSION 2020-08-10 10:23:10 -04:00

Code status:

  • Travis CI status travis-ci.org (10.2 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. 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:

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-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.

Help:

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

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


Code status:

  • tests status travis-ci.org (10.2 branch)