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
Tor Didriksen 1cf483aa58 Bug#12329653 - EXPLAIN, UNION, PREPARED STATEMENT, CRASH, SQL_FULL_GROUP_BY
The query was re-written *after* we had tagged it with NON_AGG_FIELD_USED.
Remove the flag before continuing.


mysql-test/r/explain.result:
  Update test case for Bug#48295.
mysql-test/r/subselect.result:
  New test case.
mysql-test/t/explain.test:
  Update test case for Bug#48295.
mysql-test/t/subselect.test:
  New test case.
sql/item.cc:
  Use accessor functions for non_agg_field_used/agg_func_used.
sql/item_subselect.cc:
  Remove non_agg_field_used when we rewrite query '1 < some (...)' => '1 < max(...)'
sql/item_sum.cc:
  Use accessor functions for non_agg_field_used/agg_func_used.
sql/mysql_priv.h:
  Remove unused #defines.
sql/sql_lex.cc:
  Initialize new member variables.
sql/sql_lex.h:
  Replace full_group_by_flag with two boolean flags,
  and itroduce accessors for manipulating them.
sql/sql_select.cc:
  Use accessor functions for non_agg_field_used/agg_func_used.
2011-05-04 16:18:21 +02:00
.bzr-mysql tree details update to main 2010-12-17 14:42:30 +02:00
bdb Tool fix, needed for "compile-dist" to succeed on Solaris: 2009-01-13 14:52:22 +01:00
BitKeeper Merge community up to enterprise, thus ending the community-server 2009-05-06 09:06:32 -04:00
BUILD - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
client - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
cmd-line-utils Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
config/ac-macros Bug#34236: Various possibly related SSL crashes 2010-06-08 10:36:47 -03:00
dbug - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
Docs Makefile.am, configure.in: 2007-11-22 17:48:40 +01:00
extra - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
heap - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
include Bug#11896296 REMOVE LGPL LICENSED FILES IN MYSQL 5.0 2011-03-22 13:50:14 +01:00
innobase Merge the fix for Bug#49238 from SVN 2010-07-07 20:13:53 +03:00
libmysql Bug#11896296 REMOVE LGPL LICENSED FILES IN MYSQL 5.0 2011-03-22 13:50:14 +01:00
libmysql_r A follow-up for Bug#58340 (Remove Server GPL EXCEPTIONS-CLIENT file) -- remove all 2010-11-24 12:53:39 +03:00
libmysqld - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
man - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
myisam Bug#11896296 REMOVE LGPL LICENSED FILES IN MYSQL 5.0 2011-03-22 13:50:14 +01:00
myisammrg Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
mysql-test Bug#12329653 - EXPLAIN, UNION, PREPARED STATEMENT, CRASH, SQL_FULL_GROUP_BY 2011-05-04 16:18:21 +02:00
mysys Bug #11764517: 57359: POSSIBLE TO CIRCUMVENT SECURE_FILE_PRIV 2011-04-28 12:22:41 +03:00
ndb Bug #11810224: CORRECT INVALID LGPL NOTICE IN CLUSTER FILES 2011-04-18 17:04:01 +03:00
netware Handle renamed nwbootstrap -> nwbuild 2009-02-06 15:07:45 +01:00
pstack my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
regex Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
scripts Bug #59815: Missing License information with enterprise GPL packages 2011-02-08 17:36:25 +02:00
server-tools - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
sql Bug#12329653 - EXPLAIN, UNION, PREPARED STATEMENT, CRASH, SQL_FULL_GROUP_BY 2011-05-04 16:18:21 +02:00
sql-bench Bug#44647 - fix file permissions. 2009-07-03 13:48:08 +02:00
sql-common Fixes for Bug #55755 and Bug #52315 part 2 2011-02-02 18:51:35 +02:00
SSL SSL/Makefile.am mysql-test/Makefile.am: 2007-07-27 17:39:07 +02:00
strings - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
support-files - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
tests - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
tools Bug #42434: license of mysys MD5 implementation is not GPL-compatible 2009-03-09 20:57:03 +02:00
VC++Files Bug#11896296 REMOVE LGPL LICENSED FILES IN MYSQL 5.0 2011-03-22 13:50:14 +01:00
vio merge from 4.1 2009-10-27 15:11:06 +02:00
win - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
zlib The header "config.h" needs to be included "early" to control other headers. 2008-10-13 14:23:39 +02:00
.bzrignore patch for bug#32496 (2nd) with ansi conformant and Mysql test case. 2007-11-26 21:28:01 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt Define _WIN32_WINNT to the minimum supported Windows version, 0x0500 i.e 2009-12-11 19:11:49 +01:00
configure.in Raise version number after cloning 5.0.93 2011-04-11 09:27:07 +02:00
COPYING - manual.texi will be replaced with a manual written in DocBook/XML. This ChangeSet removes all 2005-04-13 11:51:38 +02:00
INSTALL-SOURCE Makefile.am: 2007-11-02 12:59:45 +01:00
INSTALL-WIN-SOURCE Makefile.am: 2007-11-02 12:59:45 +01:00
Makefile.am - Added/updated copyright headers 2010-12-28 19:57:23 +01:00
README Removed the "Third-Party Component Notices" part 2011-03-16 23:04:29 +01:00

MySQL Server 5.0

This is a release of MySQL, a dual-license SQL database server.
For the avoidance of doubt, this particular copy of the software 
is released under the version 2 of the GNU General Public License. 
MySQL is brought to you by Oracle.

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

License information can be found in the COPYING file.

MySQL FOSS License Exception
We want free and open source software applications under certain
licenses to be able to use specified GPL-licensed MySQL client
libraries despite the fact that not all such FOSS licenses are
compatible with version 2 of the GNU General Public License.  
Therefore there are special exceptions to the terms and conditions 
of the GPLv2 as applied to these client libraries, which are 
identified and described in more detail in the FOSS License 
Exception at 
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.

This distribution may include materials developed by third
parties. For license and attribution notices for these
materials, please refer to the documentation that accompanies
this distribution (see the "Licenses for Third-Party Components"
appendix) or view the online documentation at 
<http://dev.mysql.com/doc/>.

GPLv2 Disclaimer
For the avoidance of doubt, except that if any license choice
other than GPL or LGPL is available it will apply instead, 
Oracle elects to use only the General Public License version 2 
(GPLv2) at this time for any software where a choice of GPL 
license versions is made available with the language indicating 
that GPLv2 or any later version may be used, or where a choice 
of which version of the GPL is applied is otherwise unspecified.

For further information about MySQL or additional documentation, 
see:
- The latest information about MySQL: http://www.mysql.com
- The current MySQL documentation: http://dev.mysql.com/doc

Some Reference Manual sections of special interest:
- If you are migrating from an older version of MySQL, please 
  read the "Upgrading from..." section.
- To see what MySQL can do, take a look at the features section.
- For installation instructions, see the Installing and Upgrading
  chapter.
- For the new features/bugfix history, see the MySQL Change History 
  appendix.

You can browse the MySQL Reference Manual online or download it 
in any of several formats at the URL given earlier in this file.
Source distributions include a local copy of the manual in the
Docs directory.