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 719e64e4a5 Bug#32528 Global read lock with a low priority write lock causes a server crash
FLUSH TABLES WITH READ LOCK fails to properly detect write locked
tables when running under low priority updates.

The problem is that when trying to aspire a global read lock, the
reload_acl_and_cache() function fails to properly check if the thread
has a low priority write lock, which later my cause a server crash or
deadlock.

The solution is to simple check if the thread has any type of the
possible exclusive write locks.


mysql-test/r/flush.result:
  Add test case result for Bug#32528
mysql-test/t/flush.test:
  Add test case for Bug#32528
sql/sql_parse.cc:
  Although it should not matter under LOCK TABLES, use TL_WRITE_ALLOW_WRITE
  to emphasize that it should fail in case of any write lock.
2007-11-22 10:18:19 -02:00
bdb Revert previous attempt to fix bug#27693, the files removed from the 2007-09-22 16:29:15 +02:00
BitKeeper Merge pippilotta.erinye.com:/shared/home/df/mysql/build/mysql-4.1-build 2007-10-25 13:28:56 +02:00
BUILD Do not use $static_link for GCOV builds, 2007-08-22 18:11:01 -06:00
client Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-10-23 18:51:43 +05:00
cmd-line-utils Makefile.am: 2007-10-30 20:54:31 +01:00
config/ac-macros Fix for bug #31254: "Max_data_length" truncated / reported wrong 2007-10-12 14:03:51 +04:00
dbug CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
Docs Merge mysql.com:/home/kent/bk/tmp/mysql-4.1-build 2007-03-22 19:43:41 +01:00
extra Merge pilot.mysql.com:/data/msvensson/mysql/bug27789/my50-bug27789 2007-10-05 19:56:25 +02:00
heap Merge anubis.xiphis.org:/usr/home/antony/work/mysql-5.0-engines 2007-10-19 13:04:30 -07:00
include Merge stella.local:/home2/mydev/mysql-5.0-amain 2007-10-31 12:31:36 +01:00
innobase NULL MERGE this ChangeSet to 5.1 2007-08-15 17:20:54 -06:00
libmysql Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-10-23 18:51:43 +05:00
libmysql_r my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
libmysqld Merge trift2.:/MySQL/M41/push-4.1 2007-06-18 19:44:58 +02:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
myisam Merge stella.local:/home2/mydev/mysql-5.0-ateam 2007-11-06 13:55:42 +01:00
myisammrg BUG#26976 - Missing table in merge not noted in related error msg + 2007-06-06 04:42:41 +05:00
mysql-test Bug#32528 Global read lock with a low priority write lock causes a server crash 2007-11-22 10:18:19 -02:00
mysys Merge mysql.com:/home/svoj/devel/mysql/BUG32111/mysql-4.1-engines 2007-11-12 15:16:00 +04:00
ndb Merge whalegate.ndb.mysql.com:/home/tomas/mysql-5.0 2007-11-02 23:33:25 +01:00
netware Change URLs. 2007-10-05 13:16:54 -04:00
os2 Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02: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 Merge trift2.:/MySQL/M50/bug31644-5.0 2007-10-19 19:19:15 +02:00
server-tools Merge tnurnberg@bk-internal.mysql.com:/home/bk/mysql-5.0-maint 2007-09-15 04:45:20 +02:00
sql Bug#32528 Global read lock with a low priority write lock causes a server crash 2007-11-22 10:18:19 -02:00
sql-bench my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
sql-common Bug#30951: makedate returns different results depending on version of mysql 2007-10-12 11:46:48 +02:00
SSL SSL/Makefile.am mysql-test/Makefile.am: 2007-07-27 17:39:07 +02:00
strings Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-10-23 18:51:43 +05:00
support-files Removing 7 year old 3.23 crufty debian dir that is not in use, so as not to cause confusion. 2007-10-12 13:07:39 -07:00
tests Merge mysql.com:/home/gluh/MySQL/Merge/5.0 2007-10-23 18:51:43 +05:00
tools Avoid the name conflict between the system-provided "md5.h" and the MySQL one 2007-07-19 14:14:03 +02:00
VC++Files Merge trift2.:/MySQL/M41/clone-4.1 2007-06-18 19:16:12 +02:00
vio Bug#28812 rpl_ssl fails due to assert in extra/yassl/src/socket_wrapper.cpp:117 2007-08-28 11:34:43 +02:00
win Merge ramayana.hindu.god:/home/tsmith/m/bk/50 2007-09-28 10:54:49 -06:00
zlib CMakeLists.txt, README, configure.js 2007-08-03 21:51:37 +02:00
.bzrignore Bug #30596 GROUP BY optimization gives wrong result order 2007-08-27 17:33:41 +02:00
.cvsignore
CMakeLists.txt Bug#31289 vm-win2003-64-b build failures on PushBuild due to manifest 2007-10-08 13:00:01 -04:00
configure.in Merge trift2.:/MySQL/M50/bug31644-5.0 2007-10-19 19:19:15 +02:00
COPYING
EXCEPTIONS-CLIENT EXCEPTIONS-CLIENT: 2007-03-14 18:28:16 +01:00
Makefile.am Removed debian dir. It was a mistake to embed it in the tree in the first place. 2007-10-12 02:15:32 -07:00
README

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.