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
unknown 78422442df Preparatory (and the most problematic) patch for Bug#7306
"the server side preparedStatement error for LIMIT placeholder",
which moves all uses of LIMIT clause from PREPARE to OPTIMIZE
and later steps.
After-review fixes.


mysql-test/r/group_min_max.result:
  Test results fixed for EXPLAINs when using GROUP_MIN_MAX access plan.
sql/item_subselect.cc:
  Move setting of the internal LIMIT used for IN/ALL/ANY/EXISTS 
  subqueries to one place: Item_exists_subselect::fix_length_and_dec().
  This implies that unit->select_limit_cnt is not set until the item is 
  fixed. This is OK, as now LIMIT values are not used until JOIN::optimize.
sql/mysql_priv.h:
  setup_tables no longer needs a special flag for the case when
  it's called from JOIN::reinit() (we don't need to call setup_tables
  between two executions of a correlated subquery).
sql/opt_range.cc:
  Fix a glitch in GROUP_MIN_MAX access plan: we should use table metadata,
  not field data, to evaluate max_used_key_length, which is then
  used for explain.
sql/sp.cc:
  - setup_tables signature changed.
sql/sql_base.cc:
  - setup_tables no longer needs a special mode for subqueries.
    Unused checks were removed.
sql/sql_delete.cc:
  - setup_tables signature changed
sql/sql_help.cc:
  - setup_tables signature changed
sql/sql_insert.cc:
  - setup_tables signature changed
sql/sql_lex.cc:
  Consolidate setting of internal LIMIT for IN/ALL/ANY/EXISTS subqeries
  in one place, and hence remove it from st_select_lex::test_limit().
sql/sql_lex.h:
  Cleanup signature of st_select_lex_unit::init_prepare_fake_select_lex().
sql/sql_load.cc:
  - setup_tables signature changed
sql/sql_olap.cc:
  - setup_tables signature changed
sql/sql_parse.cc:
  - st_select_lex_unit::set_limit() signature changed
sql/sql_select.cc:
  Move setting of JOIN::select_limit from JOIN::prepare
  to JOIN::optimize. At prepare, limit is unknown yet.
  Remove excessive cleanups from JOIN::reinit which were overwriting
  join->join_tab[i]->table->used_keys. This fixes the bug which was triggered
  by the change in item_subselect.cc.
sql/sql_union.cc:
  Class st_select_lex_unit was changed to avoid calls to 
   st_select_lex_unit::set_limit from places where it may be unknown.
  Now unit->select_limit_cnt is set at ::exec(). 
  st_select_lex_unit::init_prepare_fake_select_lex(): 
   - move out set_limit functionality
   - remove a few lines of dead code.
  st_select_lex_unit::prepare():
    - now we don't call set_limit at the time of prepare, so the value  
      of unit->select_limit_cnt may be unknown here. Use sl->select_limit
      instead.
  st_select_lex_unit::exec():
    - cleanup
    - call set_limit explicitly as it has been moved out of 
     init_prepare_fake_select_lex.
sql/sql_update.cc:
  - setup_tables signature changed
2005-05-30 20:54:37 +04:00
bdb Fix calls to memset() with arguments out of order. (Bug #9323) 2005-03-22 16:00:02 -08:00
BitKeeper Merge bk-internal.mysql.com:/data0/bk/mysql-4.1 2005-05-24 00:31:28 +02:00
BUILD Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-05-18 20:11:23 +04:00
client Merge mysql.com:/home/jimw/my/mysql-5.0-build 2005-05-18 17:13:31 -07:00
cmd-line-utils Merge bk-internal:/home/bk/mysql-4.1 2005-05-18 04:06:27 +02:00
config/ac-macros Fix warnings from icc 2005-05-18 19:00:21 +03:00
dbug Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
Docs - manual merge 2005-04-21 08:30:59 +02:00
extra Upgrade yaSSL to 0.9.9. 2005-05-25 00:15:06 +05:00
heap Fix for bug #9404: information_schema: Weird error messages with SELECT SUM() ... GROUP BY queries 2005-05-09 16:22:49 +00:00
include merged changes from 4.1 2005-05-23 12:55:39 -05:00
innobase Print information about XA recovery only if there are prepared XA transactions 2005-05-24 14:06:44 +03:00
libmysql New file default_modify.c. Fixed a typo on mysqld.cc 2005-05-18 20:10:17 +03:00
libmysql_r Removed support for RAID, mit-threads, and MySQL FS (really, if someone wants this feature look at a web-dav hookup). 2005-03-16 16:22:56 -08:00
libmysqld New file default_modify.c. Fixed a typo on mysqld.cc 2005-05-18 20:10:17 +03:00
man Merge with 4.1 2005-05-14 18:31:22 +03:00
myisam fixed conflicts 2005-05-20 16:34:59 -05:00
myisammrg merged changes from 4.1 2005-05-23 12:55:39 -05:00
mysql-test Preparatory (and the most problematic) patch for Bug#7306 2005-05-30 20:54:37 +04:00
mysys Merge mysql.com:/home/bkroot/mysql-4.1 into mysql.com:/home/bk/c4944-4.1 2005-05-24 01:09:23 +02:00
ndb merged changes from 4.1 2005-05-23 12:55:39 -05:00
netware Merge with 4.1 2005-02-10 02:27:37 +02:00
NEW-RPMS
os2 Many files: 2005-01-01 20:54:45 +01:00
pstack few harmless warnings from automated code-checking tools fixed 2005-01-08 21:25:31 +01:00
regex regerror.c: 2005-04-25 16:53:47 -05:00
scripts Merge mysql.com:/home/jimw/my/mysql-5.0-build 2005-05-18 17:13:31 -07:00
server-tools Merge mysql.com:/home/jimw/my/mysql-5.0-build 2005-05-18 17:13:31 -07:00
sql Preparatory (and the most problematic) patch for Bug#7306 2005-05-30 20:54:37 +04:00
sql-bench merged 2005-01-06 19:32:16 +02:00
sql-common Fixed failing tests for not 32 bit intel machines 2005-05-16 13:34:23 +03:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings merged changes from 4.1 2005-05-23 12:55:39 -05:00
support-files Manual merge 2005-05-05 13:47:09 +04:00
tests Change update_auto_increment to return 1 if get_auto_increment() returned ~(ulonglong) 2005-05-18 10:41:35 +03:00
tools WL#2286 - Compile MySQL w/YASSL support 2005-05-20 01:44:05 +05:00
VC++Files Merge gluh@gluh:/home/gluh/release/mysql-5.0-build 2005-05-24 15:35:24 +05:00
vio Fixes for numerous compatibility problems in yaSSL. 2005-05-20 18:35:49 +04:00
zlib upgrade zlib to 1.2.2 2005-03-23 21:08:13 +01:00
.bzrignore Remove automatically generated autotools files from revision control. 2005-05-18 15:23:29 +04:00
.cvsignore
configure.in Change to 5.0.7(again) 2005-05-20 00:04:43 +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 Merge bk-internal:/home/bk/mysql-5.0 2005-05-01 23:10:55 +02:00
README

This is a release of MySQL, a GPL (free) SQL database server (more
licence information in the PUBLIC file and in the reference manual).

Please read the "Upgrading from..." section in the manual first, if you are
migrating from older versions of MySQL!

The latest information about MySQL can be found at:
http://www.mysql.com

To see what it can do take a look at the features section in the
manual.

For installation instructions see the Installation chapter in the
manual.

For future plans see the TODO appendix in the manual.

New features/bug fixes history is in the news appendix in the manual.

For the currently known bugs/misfeatures (known errors) see the bugs
appendix in the manual.

For examples of SQL and benchmarking information see the bench
directory.

The manual mentioned above can be found in the Docs directory. The
manual is available in the following formats: as plain ASCII text in
Docs/manual.txt, in HTML format in Docs/manual_toc.html, as GNU Info in
Docs/mysql.info and as PostScript in Docs/manual.ps.

MySQL is brought to you by the MySQL team at MySQL AB

For a list of developers and other contributors, see the Credits appendix
in the manual.

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

IMPORTANT:

Send bug (error) reports, questions and comments to the mailing list
at mysql@lists.mysql.com

Please use the 'mysqlbug' script when posting bug reports or questions
about MySQL. mysqlbug will gather some information about your system
and start your editor with a form in which you can describe your
problem. Bug reports might be silently ignored by the MySQL
maintainers if there is not a good reason included in the report as to
why mysqlbug has not been used. A report that says 'MySQL does not
work for me. Why?' is not considered a valid bug report.

The mysqlbug script can be found in the 'scripts' directory of the
distribution, that is '<where-you-installed-mysql>/scripts'.