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
sergefp@mysql.com 1b349cf85f BUG#16798: Inapplicable ref_or_null query plan and bad query result on random occasions
The bug was as follows: When merge_key_fields() encounters "t.key=X OR t.key=Y" it will 
try to join them into ref_or_null access via "t.key=X OR NULL". In order to make this 
inference it checks if Y<=>NULL, ignoring the fact that value of Y may be not yet known.

The fix is that the check if Y<=>NULL is made only if value of Y is known (i.e. it is a
constant).
TODO: When merging to 5.0, replace used_tables() with const_item() everywhere in merge_key_fields().
2006-05-06 13:15:00 +04:00
bdb
BitKeeper
BUILD
client
cmd-line-utils
dbug
Docs
extra
heap
include
innobase Applied innodb-4.1-ss26 snapshot. 2006-05-03 23:25:01 +04:00
isam
libmysql
libmysql_r
libmysqld
man
merge
myisam
myisammrg
mysql-test BUG#16798: Inapplicable ref_or_null query plan and bad query result on random occasions 2006-05-06 13:15:00 +04:00
mysys
ndb ndb - bug#19201 (4.1), see comment in NdbBlob.cpp 2006-05-02 14:33:55 +02:00
netware
os2
pstack
regex
scripts
sql BUG#16798: Inapplicable ref_or_null query plan and bad query result on random occasions 2006-05-06 13:15:00 +04:00
sql-bench
sql-common
SSL
strings
support-files mysql.spec.sh: 2006-05-01 19:48:31 +02:00
tests
tools
VC++Files
vio
zlib
.bzrignore
.cvsignore
acinclude.m4
config.guess
config.sub
configure.in
COPYING
depcomp
install-sh
ltconfig
ltmain.sh
Makefile.am
missing
mkinstalldirs
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.
- For commercial distributions, see the MySQLEULA.txt 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 Installation chapter.
- For future plans, see the TODO appendix.
- For the new features/bugfix history, see the News appendix.
- For the currently known bugs/misfeatures (known errors) see the problems
  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.