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
Venkata Sidagam 18d34a47a4 Bug #16567381 DATETIME FIELD COMPARISONS DO NOT WORK PROPERLY
WITH UTF8_UNICODE_CI COLLATION
Problem Description:
When comparing datetime values with strings, the utf8_unicode_ci collation 
prevents correct comparisons. Consider the below set of queries, it is not 
showing any results on a table which has tuples that satisfies the query. 
But for collation utf8_general_ci it shows one tuple.
set names utf8 collate utf8_unicode_ci;;
select * from lang where dt='1979-12-09';

Analysis:
The comparison function is not chosen in case of collation utf8_unicode_ci.
In agg_item_set_converter() because the collation state is having 
"MY_CS_NONASCII" for collation type "utf8_unicode_ci". The conversion 
of the collation is happening for the date field. And because of that 
it is unable to pickup proper compare function(i.e CMP_DATE_WITH_STR).

Actually the bug is accidentally introduced by the WL#3759 in 5.5. 
And in 5.6 it is been fixed by the WL#3664.

Fix:
I have backported the changes from the file strings/ctype-uca.c which 
are related to "utf8" introduced by the WL#3664.
This change helps in choosing the correct comparison function for all 
the collations of utf8 charset.
2013-07-04 16:59:09 +05:30
.bzr-mysql
BUILD Correcting the permissions of the executable files. 2013-03-20 17:50:15 +01:00
client Bug#14236170 MYSQLDUMP 5.5.25 CLIENT FAILS TO DUMP 2013-05-17 18:54:36 +05:30
cmake Bug#16945503 ADDRESSSANITIZER BUG IN SYS_VARS 2013-06-21 14:18:01 +02:00
cmd-line-utils Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
dbug BUG#16402143 - STACK CORRUPTION IN DBUG_EXPLAIN 2013-04-10 11:50:41 +05:30
Docs Merging the changes for Bug 16633169 - MYSQL.INFO CONTAINS OUTDATED INFORMATION. 2013-04-16 12:17:18 +02:00
extra Merge from mysql-5.1 to mysql-5.5 2013-05-16 09:01:11 +02:00
include Bug#16729109: FIX COMPILATION WARNINGS WITH GCC 4.8 2013-06-14 10:52:23 +02:00
libmysql Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
libmysqld Correcting the permissions of the executable files. 2013-03-20 17:50:15 +01:00
libservices
man
mysql-test merge 5.1 => 5.5 2013-07-01 15:38:16 +02:00
mysys merge back to the 5.5 tree and fix indentation 2013-06-28 17:13:44 +03:00
packaging Fix to remove unreferenced components 2013-05-29 20:09:45 +05:30
plugin
regex
scripts Merge of patch for Bug#12671635 from mysql-5.1. 2013-03-21 23:40:25 +05:30
sql Bug#16589511: MYSQL_UPGRADE FAILS TO WRITE OUT ENTIRE 2013-06-28 13:18:16 +02:00
sql-bench Bug #13004581 BLACKHOLE BINARY LOG WITH ROW IGNORES UPDATE AND DELETE STATEMENTS 2013-04-27 16:04:54 +08:00
sql-common Bug #16680313: CLIENT DOESN'T READ PLUGIN-DIR FROM MY.CNF SET BY 2013-04-24 17:21:42 +03:00
storage Bug 16876388 - PLEASE BACKPORT BUG#16208542 TO 5.5 2013-06-25 09:42:54 +08:00
strings Bug #16567381 DATETIME FIELD COMPARISONS DO NOT WORK PROPERLY 2013-07-04 16:59:09 +05:30
support-files Updated copyright year in the spec file 2013-06-27 10:08:30 +02:00
tests Correcting the permissions of the executable files. 2013-03-20 17:50:15 +01:00
unittest Bug #16994338 PARSING TAP OUTPUT OF UNIT TEST EXPLAIN_FILENAME-T FAILS 2013-06-26 10:02:42 +05:30
vio Bug#16235681: TURN OFF DEFAULT COMPRESSION WHILE USING 2013-02-19 12:19:10 +05:30
win Correcting the permissions of executable files. 2013-03-20 17:49:30 +01:00
zlib
.bzrignore
BUILD-CMAKE
CMakeLists.txt Merge from 5.5 to 5.6 2013-05-23 11:06:34 +05:30
config.h.cmake
configure.cmake Bug#11766815 INVALID SYSTEM CHECK TIME_T_UNSIGNED 2013-03-11 16:46:11 +01:00
COPYING
INSTALL-SOURCE Merging the changes for Bug 16633169 - MYSQL.INFO CONTAINS OUTDATED INFORMATION. 2013-04-16 12:17:18 +02:00
INSTALL-WIN-SOURCE Merging the changes for Bug 16633169 - MYSQL.INFO CONTAINS OUTDATED INFORMATION. 2013-04-16 12:17:18 +02:00
README Bug 16401147 - CRLF INSTEAD OF LF IN README 2013-03-19 05:24:03 +01:00
VERSION Raise version number after cloning 5.5.32 2013-05-06 09:51:25 +02:00

MySQL Server 5.5

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