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 17fc288b30 MDEV-13352: Server crashes in st_join_table::remove_duplicates
Do not run the window function computation step when the select
produces no rows (zero_result_cause!=NULL).
This may cause reads from uninitialized memory.

We still need to run the window function computation step when
the output includes just one row  (for example
SELECT MAX(col), RANK() OVER (...) FROM t1 WHERE 1=0).

This fix also resolves an issue with queries with window functions
producing an output row where should be none, like in
SELECT ROW_NUMBER() FROM t1 WHERE 1=0.

Updated a few test results in the existing tests to reflect this.
2017-07-21 13:53:58 +03:00
BUILD Clean up BUILD script 2017-07-01 14:26:42 +03:00
client Merge branch '10.1' into 10.2 2017-07-08 09:56:28 +02:00
cmake Merge branch '10.1' into 10.2 2017-07-05 19:08:55 +02:00
dbug Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
debian Require either OpenSSL 1.0 or 1.1 on Debian 2017-07-13 09:14:17 +02:00
Docs Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
extra MDEV-13332 mariabackup from 10.2.x crashes with --ftwrl-* options 2017-07-17 17:05:06 +00:00
include Fixed build failure on Windows 2017-07-06 10:39:21 +04:00
libmariadb@eb05820423 Merge branch '10.1' into 10.2 2017-07-05 19:08:55 +02:00
libmysqld compilation warning 2017-07-07 20:13:44 +02:00
libservices MDEV-11663 Create services for functionality used by plugins 2017-04-27 19:12:38 +02:00
man Merge branch '10.1' into 10.2 2017-05-09 13:24:52 +02:00
mysql-test MDEV-13352: Server crashes in st_join_table::remove_duplicates 2017-07-21 13:53:58 +03:00
mysys Merge branch '10.1' into 10.2 2017-07-05 19:08:55 +02:00
mysys_ssl fix compilation with OpenSSL 1.1 2017-07-13 09:14:17 +02:00
pcre Merge 10.0 into 10.1 2017-03-09 08:53:08 +02:00
plugin MDEV-13060 Server Audit Plugin Crashes with AWS KMS plugin 2017-07-05 17:15:58 +02:00
randgen/conf Group commit for maria engine. 2010-02-12 15:12:28 +02:00
scripts MDEV-12548 Initial implementation of Mariabackup for MariaDB 10.2 2017-07-05 11:43:28 +03:00
sql MDEV-13352: Server crashes in st_join_table::remove_duplicates 2017-07-21 13:53:58 +03:00
sql-bench fix sql-bench test-table-elimination view leak. see MDEV-10310 for details 2016-07-12 22:21:49 +02:00
sql-common Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
storage CONNECT: accessed p[i] outside of the loop 2017-07-15 19:36:43 +02:00
strings Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
support-files Don't create tags for .xz files 2017-06-30 22:31:37 +03:00
tests MDEV-12579: Incorrect arguments to mysqld_stmt_execute when using LOBs 2017-06-22 15:28:57 +02:00
unittest Simplify IO_CACHE by removing current_pos and end_pos as self-references 2017-06-28 15:23:36 +03:00
vio MDEV-10332 support for OpenSSL 1.1 and LibreSSL 2017-05-09 18:53:10 +02:00
win Merge branch '10.1' into 10.2 2017-07-05 19:08:55 +02:00
wsrep Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +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 update .gitignore 2017-07-17 22:24:24 +04:00
.gitmodules Use https instead of ssh(git@) for rocksdb submodule. 2016-11-15 10:00:19 -05:00
.travis.compiler.sh travis: enable (main,archive).mysqlhotcopy_\1 test 2017-06-08 10:51:52 +04:00
.travis.yml MDEV-13288: Travis dependency cracklib-runtime 2017-07-11 13:27:34 +04:00
BUILD-CMAKE various documentation updates 2012-06-18 16:57:58 -04:00
CMakeLists.txt Merge branch '10.1' into 10.2 2017-05-09 13:24:52 +02:00
config.h.cmake Merge 10.1 into 10.2 2017-05-23 11:09:47 +03:00
configure.cmake Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
COPYING Use a new version of "COPYING", the GPL text. 2010-03-04 14:26:27 +01:00
COPYING.thirdparty Correct FSF address 2017-03-10 18:21:29 +01:00
CREDITS Update MariaDB Foundation sponsors 2017-06-15 14:42:41 +04: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.md Markdown README for a prettier github representation 2016-08-24 15:00:59 +10:00
VERSION bump the VERSION 2017-07-12 09:42:21 -04:00

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

Help:

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

License:


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.


Bug Reports:

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


Code status:

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