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 480a06718d MDEV-25128 Wrong result from join with materialized semi-join and
splittable derived

If one of joined tables of the processed query is a materialized derived
table (or view or CTE) with GROUP BY clause then under some conditions it
can be subject to split optimization. With this optimization new equalities
are injected into the WHERE condition of the SELECT that specifies this
derived table. The injected equalities are generated for all join orders
with which the split optimization can employed. After the best join order
has been chosen only certain of this equalities are really needed. The
others can be safely removed. If it's not done and some of injected
equalities involve expressions over semi-joins with look-up access then
the query may return a wrong result set.
This patch effectively removes equalities injected for split optimization
that are needed only at the optimization stage and not needed for execution.

Approved by serg@mariadb.com
2021-03-23 20:54:54 -07:00
BUILD Merge branch '10.2' into 10.3 2019-09-03 13:17:32 +03:00
client Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
cmake Merge 10.2 into 10.3 2021-03-18 12:34:48 +02:00
dbug Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
debian Merge remote-tracking branch 'origin/10.2' into 10.3 2021-02-25 12:16:13 +11:00
Docs Merge branch '10.2' into 10.3 2019-06-14 07:36:47 +02:00
extra Merge 10.2 into 10.3 2021-03-05 10:06:42 +02:00
include Merge 10.2 into 10.3 2021-03-18 12:34:48 +02:00
libmariadb@fc431a035a update libmariadb 2021-03-19 12:05:36 +01:00
libmysqld Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
libservices Merge 10.2 into 10.3 2019-05-14 17:18:46 +03:00
man Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
mysql-test MDEV-25128 Wrong result from join with materialized semi-join and 2021-03-23 20:54:54 -07:00
mysys Merge 10.2 into 10.3 2021-03-19 13:33:46 +02:00
mysys_ssl Merge 10.2 into 10.3 2020-10-22 08:26:28 +03:00
pcre Merge branch '10.2' into 10.3 2020-05-04 16:47:11 +02:00
plugin MDEV-24965 With ALTER USER ...IDENTIFIED BY command, password doesn't replaced by asterisks in audit log. 2021-02-26 13:26:00 +04:00
randgen/conf
scripts Merge 10.2 into 10.3 2021-03-18 12:34:48 +02:00
sql MDEV-25128 Wrong result from join with materialized semi-join and 2021-03-23 20:54:54 -07:00
sql-bench Merge 10.2 into 10.3 2020-07-02 06:17:51 +03:00
sql-common Merge branch '10.2' into 10.3 2020-09-28 17:27:42 +05:30
storage MDEV-24796 Assertion `page_has_next... failed in btr_pcur_store_position() 2021-03-22 15:22:59 +02:00
strings Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
support-files fixed typo in postinst script 2021-03-23 12:39:31 +07:00
tests Merge branch '10.2' into 10.3 2020-11-09 23:32:49 +01:00
unittest Merge branch '10.2' into 10.3 2021-02-01 13:49:33 +01:00
vio Merge 10.2 into 10.3 2021-03-18 12:34:48 +02:00
win Merge branch '10.2' into 10.3 2021-02-22 22:42:27 +01:00
wsrep cleanup: use predefined CMAKE_DL_LIBS 2020-10-23 13:37:26 +02:00
zlib Merge branch '10.2' into 10.3 2020-12-23 19:28:02 +01:00
.clang-format .clang-format - do not sort include files. 2019-12-03 22:22:23 +01:00
.gitattributes
.gitignore Merge 10.2 into 10.3 2020-10-28 10:01:50 +02:00
.gitmodules
.travis.compiler.sh travis: increase ccache size for linux jobs 2018-11-08 18:30:44 +04:00
.travis.yml travis: update osx to xcode12u in attempt to solve openssl build failure 2020-09-02 11:23:18 +10:00
appveyor.yml appveyor: config backport from 10.2 2020-04-13 13:49:41 +03:00
BUILD-CMAKE
CMakeLists.txt MDEV-24034 Policy CMP0075 is not set during compile 2020-12-15 12:27:13 +01:00
config.h.cmake Merge branch '10.2' into 10.3 2020-08-03 13:41:29 +02:00
configure.cmake cleanup: use predefined CMAKE_DL_LIBS 2020-10-23 13:37:26 +02:00
COPYING Update FSF Address 2019-05-11 21:29:06 +03:00
CREDITS Update sponsors 2021-03-12 07:02:29 +11:00
EXCEPTIONS-CLIENT
INSTALL-SOURCE
INSTALL-WIN-SOURCE
KNOWN_BUGS.txt
README.md Merge branch '10.2' into 10.3 2019-05-12 17:20:23 +02:00
THIRDPARTY Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
VERSION bump the VERSION 2021-02-22 10:04:25 -05:00

Code status:

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