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
petr/cps@mysql.com/owlet. be2ce2614b Fix Bug #18559 "log tables cannot change engine, and
gets deadlocked when dropping w/ log on"

Log tables rely on concurrent insert machinery to add data.
This means that log tables are always opened and locked by
special (artificial) logger threads. Because of this, the thread
which tries to drop a log table starts to wait for the table
to be unlocked. Which will happen only if the log table is disabled.
Alike situation happens if one tries to alter a log table.
However in addition to the problem above, alter table calls
check_if_locking_is_allowed() routine for the engine. The
routine does not allow alter for the log tables. So, alter
doesn't start waiting forever for logs to be disabled, but 
returns with an error.
Another problem is that not all engines could be used for
the log tables. That's because they need concurrent insert.

In this patch we:
(1) Explicitly disallow to drop/alter a log table if it
    is currently used by the logger.
(2) Update MyISAM to support log tables
(3) Allow to drop log tables/alter log tables if log is
    disabled
At the same time we (4) Disallow to alter log tables to
unsupported engine (after this patch CSV and MyISAM are 
alowed)
Recommit with review fixes.
2006-08-03 21:28:15 +04:00
BitKeeper Loosen up crashed repo check a bit to allow merging 5.0 -> 5.1. 2006-06-09 08:40:21 +02:00
BUILD Merge bk-internal.mysql.com:/home/bk/mysql-5.1 2006-06-28 20:03:46 +03:00
client Merge zippy.(none):/home/cmiller/work/mysql/merge/mysql-5.0 2006-07-03 11:35:58 -04:00
cmd-line-utils Merge neptunus.(none):/home/msvensson/mysql/bug16557/my50-bug16557 2006-02-21 08:58:19 +01:00
config/ac-macros Merge xiphis.org:/home/antony/work2/p4-bug12096.2 2006-06-22 11:00:01 -07:00
dbug atomic ops: 2006-06-17 16:20:39 +02:00
Docs Remove old cruft from the tree: mysqltestmanager, mysql_test_run_new, 2006-04-11 18:54:24 -07:00
extra Merge mysql.com:/home/stewart/Documents/MySQL/5.0/main 2006-06-16 18:54:20 +10:00
include Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
libmysql Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
libmysql_r Re-apply missing changeset, orignally pushed by elliot 2006-06-06 14:21:07 +03:00
libmysqld Fix windows build of libmysqld. Curious why pushbuild did not 2006-07-18 23:08:13 +02:00
man - Removed obsolete and outdated man page files from the man 2005-10-27 14:51:58 +02:00
mysql-test Fix Bug #18559 "log tables cannot change engine, and 2006-08-03 21:28:15 +04:00
mysys Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
netware Merge 2006-06-20 11:11:18 +02:00
plugin Remove compiler warnings 2006-06-23 02:49:19 +03:00
pstack Makefile.am, configure.in: 2005-09-24 15:51:45 +02:00
regex Merge mysql.com:/home/emurphy/src/bk-clean/tmp_merge 2006-06-23 17:27:54 -04:00
scripts Merge jbruehe@bk-internal.mysql.com:/home/bk/mysql-5.1 2006-07-06 17:58:31 +02:00
server-tools Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
sql Fix Bug #18559 "log tables cannot change engine, and 2006-08-03 21:28:15 +04:00
sql-common Merge zippy.(none):/home/cmiller/work/mysql/merge/tmp_merge 2006-07-10 17:20:39 -04:00
storage Fix Bug #18559 "log tables cannot change engine, and 2006-08-03 21:28:15 +04:00
strings Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
support-files Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
tests Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
unittest Changed the number of test iterations since this makes test time 2006-06-30 11:31:43 +02:00
vio Re-apply missing changeset, orignally pushed by elliot 2006-06-06 14:21:07 +03:00
win Fixing false alarm errors on windows build from a clean clone. 2006-06-15 22:46:52 -04:00
zlib Rename cmakelists.txt -> CMakeLists.txt 2006-05-12 10:51:07 +02:00
.bzrignore Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt performing a set of bk mv on each CMakeLists.txt file to try and restore the mixed case filenames since this seems to be required with Cmake 2.4 beta 1. 2006-05-11 11:29:08 -05:00
configure.in Merge bodhi.local:/opt/local/work/tmp_merge 2006-07-13 22:09:36 +04: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 change test targets to be more modular. include unit tests into make test 2006-06-14 09:12:37 +02:00
README README: 2006-04-01 04:13:33 +02: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.
- 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.