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
evgen@moonbone.local 9a233742b8 Bug#23800: Outer fields in correlated subqueries is used in a temporary table
created for sorting.

Any outer reference in a subquery was represented by an Item_field object.
If the outer select employs a temporary table all such fields should be
replaced with fields from that temporary table in order to point to the 
actual data. This replacement wasn't done and that resulted in a wrong
subquery evaluation and a wrong result of the whole query.

Now any outer field is represented by two objects - Item_field placed in the
outer select and Item_outer_ref in the subquery. Item_field object is
processed as a normal field and the reference to it is saved in the
ref_pointer_array. Thus the Item_outer_ref is always references the correct
field. The original field is substituted for a reference in the
Item_field::fix_outer_field() function.

New function called fix_inner_refs() is added to fix fields referenced from
inner selects and to fix references (Item_ref objects) to these fields.

The new Item_outer_ref class is a descendant of the Item_direct_ref class.
It additionally stores a reference to the original field and designed to
behave more like a field.
2007-02-21 23:00:32 +03:00
bdb my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
BitKeeper Merge mysql.com:/home/gluh/MySQL/Merge/4.1-opt 2007-02-08 15:34:53 +04:00
BUILD Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-02-01 17:10:09 +01:00
client Fix bug#23293 "readline detection broken on NetBSD": 2007-01-31 15:25:56 +01:00
cmd-line-utils Fix bug#23293 "readline detection broken on NetBSD": 2007-01-31 15:25:56 +01:00
config/ac-macros ha_innodb.m4, Makefile.am, ha_ndbcluster.m4, Makefile.shared, ha_berkeley.m4: 2006-11-27 21:15:25 +01:00
dbug my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
Docs my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
extra Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-11 09:43:44 -05:00
heap Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-11 21:59:28 +03:00
include Merge chilla.local:/home/mydev/mysql-4.1-axmrg 2007-02-02 10:03:22 +01:00
innobase Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.0 2007-01-17 11:53:00 +01:00
libmysql Merge neptunus.(none):/home/msvensson/mysql/bug15518/my50-bug15518 2007-01-16 14:13:48 +01:00
libmysql_r my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
libmysqld Merge mysql.com:/d2/hf/common/my41-common 2007-01-03 02:43:27 +04:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisam Merge bk-internal.mysql.com:/home/bk/mysql-4.1 2007-01-29 17:20:18 +01:00
myisammrg my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql-test Bug#23800: Outer fields in correlated subqueries is used in a temporary table 2007-02-21 23:00:32 +03:00
mysys Fixed MacOSX/Intel linking problem 2007-02-12 16:02:53 +02:00
ndb Merge mskold@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb 2007-02-07 12:33:36 +01:00
netware Many files: 2006-12-23 20:17:15 +01:00
os2 my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
pstack my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
regex my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
scripts make_binary_distribution.sh: 2007-02-09 00:10:40 +01:00
server-tools Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.0 2007-01-17 11:53:00 +01:00
sql Bug#23800: Outer fields in correlated subqueries is used in a temporary table 2007-02-21 23:00:32 +03:00
sql-bench my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql-common my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
SSL my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
strings Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2007-01-11 09:43:44 -05:00
support-files Merge kahlann.erinye.com:/home/df/mysql/build/mysql-5.0-build 2007-01-31 18:54:15 +01:00
tests Bug #15518 Reusing a stmt that has failed during prepare does not clear error 2007-01-19 11:07:20 +01:00
tools my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
VC++Files gen_lex_hash.cc: 2007-01-31 00:06:42 +01:00
vio Valgrind error fixes 2007-02-01 18:00:24 +04:00
win Merge mjorgensen@bk-internal.mysql.com:/home/bk/mysql-5.0-sage 2007-01-11 09:19:32 +01:00
zlib my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
.bzrignore copy from test-extra-5.0 to main tree 2007-02-06 19:07:48 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
configure.in Merge trift2.:/MySQL/M50/bug12676-5.0 2007-01-31 18:16:51 +01:00
configure.in.rej Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-4.0 2007-01-22 03:33:59 +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
Makefile.am Bug#25844: "make test" does not find mysql-test-run.pl 2007-02-01 15:59:51 +01:00
README make_binary_distribution.sh: 2006-11-07 22:26:37 +01:00

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.