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
Sergey Glukhov 7fa7a0cad9 Bug#11766270 59343: YEAR(4): INCORRECT RESULT AND VALGRIND WARNINGS WITH MIN/MAX, UNION
When we create temporary result table for UNION
incorrect max_length for YEAR field is used and
it leads to incorrect field value and incorrect
result string length as YEAR field value calculation
depends on field length.
The fix is to use underlying item max_length for
Item_sum_hybrid::max_length intialization.


mysql-test/r/func_group.result:
  test case
mysql-test/t/func_group.test:
  test case
sql/field.cc:
  added assert
sql/item_sum.cc:
  init Item_sum_hybrid::max_length with 
  use underlying item max_length for
  INT result type.
2011-04-12 14:01:33 +04:00
.bzr-mysql merge 2010-12-17 14:44:35 +02:00
BitKeeper Merge community up to enterprise, thus ending the community-server 2009-05-06 09:06:32 -04:00
BUILD Merge 2010-12-29 00:47:05 +01:00
client Bug#11765157 - 58090: mysqlslap drops schema specified in 2011-04-08 12:22:44 +05:30
cmd-line-utils Bug#58057: 5.1 libmysql/libmysql.c unused variable/compile failure 2010-11-10 19:14:47 -02:00
config/ac-macros Bug#57991: Compiler flag change build error : adler32.c 2010-12-07 13:06:20 -02:00
dbug Merge 2010-12-29 00:47:05 +01:00
Docs
extra Bug#11900714 REMOVE LGPL LICENSED FILES IN MYSQL 5.1 2011-03-28 10:47:30 +02:00
include Bug#11900714 REMOVE LGPL LICENSED FILES IN MYSQL 5.1 2011-03-28 10:47:30 +02:00
libmysql Bug#11900714 REMOVE LGPL LICENSED FILES IN MYSQL 5.1 2011-03-28 10:47:30 +02:00
libmysql_r Merge from mysql-5.0-bugteam. 2010-11-24 13:07:37 +03:00
libmysqld Merge 2010-12-29 00:47:05 +01:00
man Merge 2010-12-29 00:47:05 +01:00
mysql-test Bug#11766270 59343: YEAR(4): INCORRECT RESULT AND VALGRIND WARNINGS WITH MIN/MAX, UNION 2011-04-12 14:01:33 +04:00
mysys Bug #11758687: 50924: object names not resolved correctly 2011-04-04 16:04:15 +03:00
netware Bug #45058 init_available_charsets uses double checked locking 2009-12-12 19:11:25 +01:00
plugin Bug #11763135: 55812: MYSQL AB SHOULD NOT BE AUTHOR, EVEN IN EXAMPLE 2011-03-21 17:54:40 +02:00
regex Fixed bug#58026 - massive recursion and crash in regular expression 2011-02-04 10:47:46 +06:00
scripts Merge 2010-12-29 00:47:05 +01:00
server-tools Merge 2010-12-29 00:47:05 +01:00
sql Bug#11766270 59343: YEAR(4): INCORRECT RESULT AND VALGRIND WARNINGS WITH MIN/MAX, UNION 2011-04-12 14:01:33 +04:00
sql-bench merge fix 2009-07-03 14:12:35 +02:00
sql-common merge to 5.1. 2011-02-02 19:05:28 +02:00
storage Merge mysql-5.1-innodb -> mysql-5.1 2011-04-04 09:06:08 +03:00
strings Bug#11766725 (Bug#59901) EXTRACTVALUE STILL BROKEN AFTER FIX FOR BUG #44332 2011-03-01 15:30:18 +03:00
support-files Fix Bug #56581 RPM scripts use hardcoded datadir location 2011-02-03 18:16:22 +01:00
tests Fixed Bug#11764168 "56976: SEVERE DENIAL OF SERVICE IN PREPARED STATEMENTS". 2011-03-15 17:36:12 +06:00
unittest Followup to Bug #11752069 (former bug 43152) 2011-02-16 18:19:10 +01:00
vio Post-merge fixes: fix typo and remove unused variables. 2009-11-21 10:11:45 -02:00
win Added support for VS10. 2011-03-28 13:43:30 +03:00
zlib
.bzrignore Added support for VS10. 2011-03-28 13:43:30 +03:00
.cvsignore
CMakeLists.txt fixing 38697/11749301 2011-03-21 20:23:39 +01:00
configure.in Merge from mysql-5.0 (bump the version). 2011-04-11 13:47:15 +04:00
COPYING Use a new version of "COPYING", the GPL text. 2010-03-04 14:26:27 +01:00
INSTALL-SOURCE
INSTALL-WIN-SOURCE
Makefile.am Merge 2010-12-29 00:47:05 +01:00
README Removed the "Third-Party Component Notices" part from README 2011-03-16 23:07:05 +01:00

MySQL Server 5.1

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.