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
Guilhem Bichot 8ecda6cd26 _ma_bitmap_unpin_all() needs to unpin not-locked pages which were pinned by other threads
in write_changed_bitmap(), and page cache forbids that. Here we make the page
cache more relaxed. Original patch by Sanja, simplified by me as limited to
not-locked. See comment of ma_bitmap.c.
With that, maria_stress.yy runs until hitting BUG 39665.

storage/maria/ma_bitmap.c:
  A thread which unpins bitmap pages in _ma_bitmap_unpin_all() sometimes
  hit an assertion in the page cache (info!=0 in remove_pin()) which states
  that you can unpin/unlock only what *you* have pinned/locked.
  Fixed by setting the new last parameter of pagecache_unlock_by_link()
  to TRUE in _ma_bitmap_unpin_all().
storage/maria/ma_blockrec.c:
  new prototype and splitting assertion in three (3rd one fires: BUG 39665)
storage/maria/ma_check.c:
  new prototype
storage/maria/ma_key_recover.c:
  new prototype
storage/maria/ma_loghandler.c:
  new prototype
storage/maria/ma_pagecache.c:
  Allow a thread to unpin, with pagecache_unlock_by_link(), a non-locked page pinned by others.
  This is a hack for _ma_bitmap_unpin_all() which needs to unpin pages which were
  pinned by other threads in write_changed_bitmap().
storage/maria/ma_pagecache.h:
  new prototype
storage/maria/ma_preload.c:
  new prototype
storage/maria/unittest/ma_pagecache_rwconsist.c:
  new prototype
storage/maria/unittest/ma_pagecache_single.c:
  new prototype
2008-10-14 17:18:14 +02:00
.bzr-mysql Merge from 5.0-bugteam. 2008-08-15 15:30:17 -04:00
.bzr-mysql.moved Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
BitKeeper Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
BUILD Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
client Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
cmd-line-utils Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
config/ac-macros Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
dbug Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
Docs Makefile.am: 2008-04-08 11:44:18 +02:00
extra Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
include Fix for bug#39226 Maria: crash with FLUSH TABLES WITH READ LOCK after LOCK TABLES 2008-10-12 13:09:52 +03:00
libmysql Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
libmysql_r Makefile.am: 2007-10-08 20:55:44 +02:00
libmysqld Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
man my_strtoll10-x86.s: 2006-12-31 01:02:27 +01:00
mysql-test Fix for bug#39226 Maria: crash with FLUSH TABLES WITH READ LOCK after LOCK TABLES 2008-10-12 13:09:52 +03:00
mysys Fix for bug#39226 Maria: crash with FLUSH TABLES WITH READ LOCK after LOCK TABLES 2008-10-12 13:09:52 +03:00
netware Merge from 5.0-bugteam local. 2008-08-18 13:33:00 -04:00
plugin Merge mysql.com:/home/my/mysql-5.1 2008-04-28 19:24:05 +03:00
pstack Makefile.am, configure.in: 2007-09-27 21:39:23 +02:00
regex Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
scripts Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
server-tools Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
sql Fix for bug#39226 Maria: crash with FLUSH TABLES WITH READ LOCK after LOCK TABLES 2008-10-12 13:09:52 +03:00
sql-bench Fix for BUG#36104 "INFORMATION_SCHEMA.TABLES shows TRANSACTIONAL=1 twice in CREATE_OPTIONS" 2008-06-03 21:35:39 +02:00
sql-common Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
storage _ma_bitmap_unpin_all() needs to unpin not-locked pages which were pinned by other threads 2008-10-14 17:18:14 +02:00
strings Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
support-files Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
tests Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
unittest Fix for bug#39226 Maria: crash with FLUSH TABLES WITH READ LOCK after LOCK TABLES 2008-10-12 13:09:52 +03:00
vio Merge bk-internal.mysql.com:/home/bk/mysql-5.1-build 2008-02-21 19:53:37 -05:00
win Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
zlib Changes for Visual Studio 9 2008-04-07 01:32:59 -04:00
.bzrignore Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
configure.in Merged 5.1 maria with 5.1 maria team tree. Automerge. 2008-10-11 11:27:03 +03: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
EXCEPTIONS-CLIENT EXCEPTIONS-CLIENT: 2007-03-14 18:28:16 +01:00
INSTALL-SOURCE ReadMe.txt, INSTALL-WIN-SOURCE, INSTALL-BINARY, INSTALL-SOURCE: 2007-11-23 10:15:55 +01:00
INSTALL-WIN-SOURCE ReadMe.txt, INSTALL-WIN-SOURCE, INSTALL-BINARY, INSTALL-SOURCE: 2007-11-23 10:15:55 +01:00
KNOWN_BUGS.txt - lifting a limit: INSERT|REPLACE SELECT and LOAD DATA always prevented versioning, now what do so is if 2008-07-09 14:07:38 +02:00
Makefile.am Merged 5.1 with maria 5.1 2008-10-10 18:28:41 +03:00
README make_binary_distribution.sh: 2006-11-07 22:26:37 +01: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 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.