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
Ramil Kalimullin f5b51bc1e2 Fix for bug#49199: Optimizer handles incorrectly:
field='const1' AND field='const2' in some cases

Building multiple equality predicates containing
a constant which is compared as a datetime (with a field)
we should take this fact into account and compare the 
constant with another possible constatns as datetimes 
as well.

E.g. for the
SELECT ... WHERE a='2001-01-01' AND a='2001-01-01 00:00:00'
we should compare '2001-01-01' with '2001-01-01 00:00:00' as
datetimes but not as strings.


mysql-test/r/select.result:
  Fix for bug#49199: Optimizer handles incorrectly: 
  field='const1' AND field='const2' in some cases
    - test result.
mysql-test/t/select.test:
  Fix for bug#49199: Optimizer handles incorrectly: 
  field='const1' AND field='const2' in some cases
    - test case.
sql/item_cmpfunc.cc:
  Fix for bug#49199: Optimizer handles incorrectly: 
  field='const1' AND field='const2' in some cases
    - adding a constant to Item_equal compare it as
  a datetime value with stored one if there's a 
  date[time] field in a equality predicate.
sql/item_cmpfunc.h:
  Fix for bug#49199: Optimizer handles incorrectly: 
  field='const1' AND field='const2' in some cases
    - adding a constant to Item_equal compare it as
  a datetime value with stored one if there's a 
  date[time] field in a equality predicate.
sql/sql_select.cc:
  Fix for bug#49199: Optimizer handles incorrectly: 
  field='const1' AND field='const2' in some cases
    - adding a constant to Item_equal compare it as
  a datetime value with stored one if there's a 
  date[time] field in a equality predicate.
2009-12-04 21:58:40 +04:00
.bzr-mysql version change 2009-11-04 11:13:55 +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 fixed the CPU checking code. 2009-07-10 16:00:17 +03:00
client Backport fix for Bug #27884. 2009-11-23 14:38:08 -08:00
cmd-line-utils Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
config/ac-macros Fix for Bug#40700: aclocal warnings for missing cache-id's 2009-11-04 15:34:42 -07:00
dbug Bug #45287: phase 2 : 5.0 64 bit compilation warnings 2009-07-16 15:37:38 +03:00
Docs Makefile.am, configure.in: 2007-11-22 17:48:40 +01:00
extra Bug#48864: MySQL fails to compile on 64 bit Fedora 12 2009-11-18 17:24:10 +02:00
heap Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-09-17 17:10:30 +02:00
include Bug#41728: Dropped symbol but no soname change 2009-09-29 09:55:53 -03:00
innobase Bug #38883 (reopened): thd_security_context is not thread safe, crashes? 2009-12-01 14:24:44 +04:00
libmysql Fix compiler warnings -- tag unused parameters. 2009-11-03 16:17:06 -02:00
libmysql_r
libmysqld Bug#41728: Dropped symbol but no soname change 2009-09-29 09:55:53 -03:00
man Get rid of manual pages which aren't used. 2009-08-20 21:08:09 +02:00
myisam Bug#34895 'show procedure status' or 'show function status' + 2009-09-30 14:50:25 +02:00
myisammrg Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
mysql-test Fix for bug#49199: Optimizer handles incorrectly: 2009-12-04 21:58:40 +04:00
mysys Compile fix for Windows: 2009-10-16 14:06:33 +02:00
ndb Bug#44952: Ndbd file system inconsistency error 2009-11-02 18:10:21 -02:00
netware Handle renamed nwbootstrap -> nwbuild 2009-02-06 15:07:45 +01:00
os2 Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
pstack
regex Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
scripts Include the "mysql-test/collections" directory when creating windows ZIP archive 2009-11-17 17:49:24 +01:00
server-tools Bug#46013: rpl_extraColmaster_myisam fails on pb2 2009-08-13 17:07:20 -03:00
sql Fix for bug#49199: Optimizer handles incorrectly: 2009-12-04 21:58:40 +04:00
sql-bench Bug#44647 - fix file permissions. 2009-07-03 13:48:08 +02:00
sql-common Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-09-17 17:10:30 +02:00
SSL SSL/Makefile.am mysql-test/Makefile.am: 2007-07-27 17:39:07 +02:00
strings Bug #43414 Parenthesis (and other) warnings compiling MySQL 2009-08-28 17:51:31 +02:00
support-files bug#30954: "configure" script in binary distributions considered harmfull 2009-09-28 15:14:33 +01:00
tests Bug#45010: invalid memory reads during parsing some strange statements 2009-08-07 23:32:01 -03:00
tools Bug #42434: license of mysys MD5 implementation is not GPL-compatible 2009-03-09 20:57:03 +02:00
VC++Files Merge chunk from trunk. 2008-07-10 14:47:53 -04:00
vio merge from 4.1 2009-10-27 15:11:06 +02:00
win bug#27693: Windows compilation from bk fails using WITH_BERKELEY_STORAGE_ENGINE 2009-09-30 15:46:51 +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
CMakeLists.txt Bug#17270 - mysql client tool could not find ../share/charsets folder and fails. 2009-07-31 15:22:02 -04:00
configure.in Raise version number after cloning 5.0.88 2009-11-09 19:22:35 +01:00
COPYING
EXCEPTIONS-CLIENT EXCEPTIONS-CLIENT: 2007-03-14 18:28:16 +01: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 make targets 'test-bt-fast' and 'test-bt-debug-fast' 2009-10-15 00:40:40 +02:00
README

This is a release of MySQL, a dual-license SQL database server.
MySQL is brought to you by the MySQL team at MySQL AB.

License information can be found in these files:
- For GPL (free) distributions, see the COPYING file and
  the EXCEPTIONS-CLIENT file.
- For commercial distributions, see the LICENSE.mysql file.


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 manual sections of special interest:

- If you are migrating from an older version of MySQL, please read the
  "Upgrading from..." section first!
- 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 Change History appendix.
- For the currently known bugs/misfeatures (known errors) see the Problems
  and Common Errors appendix.
- For a list of developers and other contributors, see the Credits
  appendix.

A local copy of the MySQL Reference Manual can be found in the Docs
directory in GNU Info format.  You can also browse the manual online or
download it in any of several formats at the URL given earlier in this
file.

************************************************************

IMPORTANT:

Bug or error reports should be sent to http://bugs.mysql.com.