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 11abe15eab Added Non-prelocked SP execution: Now a PROCEDURE doesn't enter/leave prelocked mode for
its body, but lets each statement to get/release its own locks. This allows a broader set
of statements to be executed inside PROCEDUREs (but breaks replication)
This patch should fix BUG#8072, BUG#8766, BUG#9563, BUG#11126


mysql-test/r/sp-security.result:
  Drop tables this test attempts to create
mysql-test/r/sp-threads.result:
  Update test results
mysql-test/r/sp.result:
  Disabled a test that triggers BUG#11986, cleanup used tables when tests start.
mysql-test/r/view.result:
  Enabled a test case that now works with prelocking-free SPs
mysql-test/t/sp-security.test:
  Drop tables this test attempts to create
mysql-test/t/sp.test:
  Disabled a test that triggers BUG#11986, cleanup used tables when tests start.
mysql-test/t/view.test:
  Enabled a test case that now works with prelocking-free SPs
sql/handler.cc:
  Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt
sql/item_func.cc:
  Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt
sql/sp.cc:
  Non-prelocked SP execution: Added support for skipping prelocking of procedure body for
  "CALL proc(...)" statements.
sql/sp.h:
  Non-prelocked SP execution: Added support for skipping prelocking of procedure body for
  "CALL proc(...)" statements.
sql/sp_cache.h:
  Added comments
sql/sp_head.cc:
  Non-prelocked SP execution:
  * Try to unlock tables after PROCEDURE arguments have been evaluated.
  * Make sp_lex_keeper be able to execute in 2 modes: A) when already in prelocked mode
    B) when its statement enters/leaves prelocked mode itself.
sql/sp_head.h:
  Non-prelocked SP execution:  Make sp_lex_keeper to additionally keep list of tables it 
  needs to prelock when its statement enters/leaves prelocked mode on its own.
sql/sql_base.cc:
  Non-prelocked SP execution: Make open_tables() to
   * detect 'CALL proc(...)' and not to do prelocking for procedure body statements.
   * Make lex->query_tables_last to point precisely to a boundary in lex->query_tables 
     list where 'own' tables and views' tables end and added-for-prelocking tables begin.
     (it was not true before - view's tables could end up after query_tables_own_last)
sql/sql_class.cc:
  Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt
sql/sql_class.h:
  Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt
sql/sql_lex.cc:
  Non-prelocked SP execution: More rigourous cleanup in st_lex::cleanup_after_one_table_open()
sql/sql_parse.cc:
  Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt, remove outdated comments
sql/sql_trigger.h:
  Rename: thd->transaction.in_sub_stmt -> thd->in_sub_stmt
2005-07-30 08:19:57 +00:00
bdb sql/mysql_priv.h 2005-06-09 15:48:57 +02:00
BitKeeper Typo for debug code. Bug #11705 2005-07-06 15:54:02 -07:00
BUILD Fix BUILD/autorun.sh to really bail out on error. 2005-07-18 21:33:05 +04:00
client Added some missing casts and changed a define for alloca(). 2005-07-20 13:27:57 +03:00
cmd-line-utils Merge mysqldev@production.mysql.com:jimw/mysql-5.0-readline 2005-07-18 18:04:52 -07:00
config/ac-macros Better AR guessing. 2005-06-22 16:29:21 +05:00
dbug Merge 2005-07-06 00:06:11 +02:00
Docs Merge mysql.com:/space/my/mysql-4.1-build 2005-07-06 08:50:22 +02:00
extra Merge mysql.com:/home/jimw/my/mysql-4.1-clean 2005-07-19 11:05:49 -07:00
heap ctype_utf8.test: 2005-07-08 02:12:31 -07:00
include Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 2005-07-21 01:29:57 -04:00
innobase InnoDB: Make the srv_thread_concurrency checks more consistent. 2005-07-06 09:38:31 +03:00
libmysql Merge mysql.com:/home/jimw/my/mysql-5.0-5906 2005-07-19 19:59:34 -07:00
libmysql_r Merge 2005-07-06 00:06:11 +02:00
libmysqld Fixes to previous changeset 2005-07-18 20:05:30 +03:00
man Merge with 4.1 2005-05-14 18:31:22 +03:00
myisam Merge bk@192.168.21.1:/usr/home/bk/mysql-5.0 2005-07-21 15:47:57 +05:00
myisammrg Merge 2005-07-06 00:06:11 +02:00
mysql-test Added Non-prelocked SP execution: Now a PROCEDURE doesn't enter/leave prelocked mode for 2005-07-30 08:19:57 +00:00
mysys Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 2005-07-21 01:29:57 -04:00
ndb Merge mysql.com:/home/jonas/src/mysql-5.0 2005-07-21 11:25:40 +02:00
netware Merge 2005-07-06 00:06:11 +02:00
NEW-RPMS Import changeset 2000-07-31 21:29:14 +02:00
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 Merge 2005-07-06 00:06:11 +02:00
scripts - don't install the Mac OS X support files when running "make install" - 2005-07-20 19:15:48 +02:00
server-tools rename: store_to_string -> store_to_protocol_packet 2005-06-15 01:06:25 +04:00
sql Added Non-prelocked SP execution: Now a PROCEDURE doesn't enter/leave prelocked mode for 2005-07-30 08:19:57 +00:00
sql-bench Cleanup during review 2005-06-05 17:01:20 +03:00
sql-common Merge mysql.com:/home/jimw/my/mysql-5.0-5906 2005-07-19 19:59:34 -07:00
SSL Added missing SSL library (Should be in source distribution) 2003-11-28 12:18:13 +02:00
strings Merge mysql.com:/home/gluh/MySQL/Merge/4.1 2005-07-21 17:55:16 +05:00
support-files Merge mysql.com:/space/my/mysql-4.1-build 2005-07-20 22:41:53 +02:00
tests Merge mronstrom@bk-internal.mysql.com:/home/bk/mysql-4.1 2005-07-21 01:29:57 -04:00
tools Merge 2005-07-06 00:06:11 +02:00
VC++Files Merge bk-internal.mysql.com:/home/bk/mysql-5.0 2005-07-18 19:03:01 +03:00
vio Merge mysql.com:/home/bkroot/mysql-4.1 2005-07-13 02:13:04 +02:00
zlib Apply security patch to bundled zlib for CAN-2005-2096. (Bug #11844) 2005-07-11 10:37:21 -07:00
.bzrignore Ignore mysql-test/var (I'm pushing it for the second time already :(() 2005-07-20 00:02:49 +04:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
configure.in Upgraded the version number, as 5.0.10 is cloned off. 2005-07-20 18:31:33 +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 with 4.1 2005-07-03 14:17:52 +03:00
README Removed URL (website is not actively maintained anymore) 2002-04-24 08:28:50 +02:00

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'.