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
Sergey Vojtovich 06fa1ef4f4 BUG#11763712 - 56458: KILLING A FLUSH TABLE FOR A MERGE/CHILD
CRASHES SERVER

Flushing of MERGE table or one of its child tables, which was
locked by flushing thread using LOCK TABLES, might have caused
crashes or assertion failures if the thread failed to reopen
child or parent table.
Particularly, this might have happened when another connection
killed this FLUSH TABLE statement/connection.
Also this problem might have occurred when we failed to reopen
MERGE table or one of its children when executing DDL statement
under LOCK TABLES.

The problem was caused by the fact that reopen_tables() might
have failed to reopen child table but still tried to reopen,
reattach children for and re-lock its parent. Vice versa it
might have failed to reopen parent but kept references from
children to parent around. Since reopen_tables() closes table
it has failed to reopen and therefore frees all associated
memory such dangling references led to crashes when followed.

This patch solves this problem by ensuring that we always close
parent table and all its children if we fail to reopen this
table or one of its children. Same happens if we fail to reattach
children to parent.

Affects 5.1 only.
2011-08-18 10:38:51 +04:00
.bzr-mysql
BitKeeper
BUILD
client Remove soft links in the build directory, not the source directory (Bug#43312) 2011-05-03 16:02:31 +02:00
cmd-line-utils Bug#11757855 - 49967: built-in libedit doesn't read 2011-04-29 18:52:46 +05:30
config/ac-macros
dbug
Docs
extra Bug#11900714 REMOVE LGPL LICENSED FILES IN MYSQL 5.1 2011-03-28 10:47:30 +02:00
include Bug#11900714 REMOVE LGPL LICENSED FILES IN MYSQL 5.1 2011-03-28 10:47:30 +02:00
libmysql Bug#11900714 REMOVE LGPL LICENSED FILES IN MYSQL 5.1 2011-03-28 10:47:30 +02:00
libmysql_r
libmysqld
man
mysql-test BUG#11763712 - 56458: KILLING A FLUSH TABLE FOR A MERGE/CHILD 2011-08-18 10:38:51 +04:00
mysys Bug #11758687: 50924: object names not resolved correctly 2011-04-04 16:04:15 +03:00
netware
plugin Bug #11763135: 55812: MYSQL AB SHOULD NOT BE AUTHOR, EVEN IN EXAMPLE 2011-03-21 17:54:40 +02:00
regex
scripts
server-tools
sql BUG#11763712 - 56458: KILLING A FLUSH TABLE FOR A MERGE/CHILD 2011-08-18 10:38:51 +04:00
sql-bench
sql-common Bug#11889186 60503: CRASH IN MAKE_DATE_TIME WITH DATE_FORMAT / STR_TO_DATE COMBINATION 2011-04-27 11:35:57 +04:00
storage Merge mysql-5.1-innodb -> mysql-5.1 2011-05-02 12:49:19 +03:00
strings
support-files
tests Fixed Bug#11764168 "56976: SEVERE DENIAL OF SERVICE IN PREPARED STATEMENTS". 2011-03-15 17:36:12 +06:00
unittest
vio
win Added support for VS10. 2011-03-28 13:43:30 +03:00
zlib
.bzrignore merge 2011-04-20 18:00:50 +02:00
.cvsignore
CMakeLists.txt fixing 38697/11749301 2011-03-21 20:23:39 +01:00
configure.in Bug#11757855 - 49967: built-in libedit doesn't read 2011-04-29 18:52:46 +05:30
COPYING
INSTALL-SOURCE
INSTALL-WIN-SOURCE
Makefile.am
README Removed the "Third-Party Component Notices" part from README 2011-03-16 23:07:05 +01:00

MySQL Server 5.1

This is a release of MySQL, a dual-license SQL database server.
For the avoidance of doubt, this particular copy of the software 
is released under the version 2 of the GNU General Public License. 
MySQL is brought to you by Oracle.

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

License information can be found in the COPYING file.

MySQL FOSS License Exception
We want free and open source software applications under certain
licenses to be able to use specified GPL-licensed MySQL client
libraries despite the fact that not all such FOSS licenses are
compatible with version 2 of the GNU General Public License.  
Therefore there are special exceptions to the terms and conditions 
of the GPLv2 as applied to these client libraries, which are 
identified and described in more detail in the FOSS License 
Exception at 
<http://www.mysql.com/about/legal/licensing/foss-exception.html>.

This distribution may include materials developed by third
parties. For license and attribution notices for these
materials, please refer to the documentation that accompanies
this distribution (see the "Licenses for Third-Party Components"
appendix) or view the online documentation at 
<http://dev.mysql.com/doc/>.

GPLv2 Disclaimer
For the avoidance of doubt, except that if any license choice
other than GPL or LGPL is available it will apply instead, 
Oracle elects to use only the General Public License version 2 
(GPLv2) at this time for any software where a choice of GPL 
license versions is made available with the language indicating 
that GPLv2 or any later version may be used, or where a choice 
of which version of the GPL is applied is otherwise unspecified.

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 Reference Manual sections of special interest:
- If you are migrating from an older version of MySQL, please 
  read the "Upgrading from..." section.
- 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 MySQL Change History 
  appendix.

You can browse the MySQL Reference Manual online or download it 
in any of several formats at the URL given earlier in this file.
Source distributions include a local copy of the manual in the
Docs directory.