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
Vladislav Vaintroub 361fa97258 Bug #42804 --parallel option does not work for MTR under ActiveState
perl 

The problem here was the method how MTR gets its unique thread ids.
Prior to this patch, the method to do it was to maintain a global 
table of pid,mtr_unique_id) pairs. The table was backed by a text 
file. The table was cleaned up one in a while and dead processes leaking
unique_ids were determined with with kill(0) or with scripting tasklist
on Windows.

This method is flawed specifically on native Windows Perl. fork() is 
implemented with starting a new thread, give it a syntetic negative PID
(threadID*(-1)), until this thread creates a new process with exec()
However,  neither tasklist nor any other native Windows tool can cope with
negative perl PIDs. This lead to incorrect determination of dead process 
and reusing already used mtr_unique_id.

The patch introduces alternative portable  method of solving unique-id 
problem. When a process needs a unique id in range [min...max], it just 
starts  to open files named min, min+1,...max in a loop . After file is 
opened, we do non-blocking flock(). When flock() succeeds, process has 
allocated the ID. When process dies, file is unlocked . Checks for zombies 
are not necessary.

Since the change would create a co-existence problems with older version
of MTR, because of different way to calculate IDs, the default ID range
is changed from 250-299 to 300-349.

Another fix that was necessary enable --parallel option was to serialize 
spawn() calls on Windows. specifically, IO redirects needed to be protected.

This patch also fixes hanging CRTL-C (as described in Bug #38629) for the
"new"  MTR. The fix was already in 6.0 and is now downported.
2009-04-23 13:35:02 +02:00
.bzr-mysql merged tree name change 2009-03-27 16:34:48 +02:00
BitKeeper Merge trift2.:/MySQL/M51/mysql-5.1 2008-01-28 15:16:40 +01:00
BUILD Merge the bashism removal from 5.0 up to 5.1-build 2008-12-28 16:18:08 +01:00
client merged 5.0-bugteam -> 5.1-bugteam 2009-03-24 15:58:52 +02:00
cmd-line-utils Disabled libedit use of '__weak_reference' on FreeBSD, doesn't compile 2009-02-14 01:43:21 +01:00
config/ac-macros Bug #43614: make distcheck failure (ndb/Makefile is made, but not subdirs of ndb) 2009-03-13 13:13:55 +02:00
dbug Bug#38522: 5 seconds delay when closing application using embedded server 2008-12-04 19:41:53 +01:00
Docs Makefile.am: 2008-04-08 11:44:18 +02:00
extra auto-merge 2009-03-19 09:44:58 -04:00
include Apply http://lists.mysql.com/commits/70427 to fix Win32 builds with VS 2005. 2009-04-02 13:17:38 +02:00
libmysql auto-merge 2009-03-19 09:44:58 -04:00
libmysql_r Makefile.am: 2007-10-08 20:55:44 +02:00
libmysqld Bug #43715 Link errors when trying to link mysql_embedded.exe 2009-03-17 23:28:24 +01:00
man Bug#37098 Get rid of "Installed (but unpackaged)" files in the RPM build 2008-08-27 16:03:39 +02:00
mysql-test Bug #42804 --parallel option does not work for MTR under ActiveState 2009-04-23 13:35:02 +02:00
mysys Apply 64-bit fix from Azundris. 2009-03-31 16:04:02 +02:00
netware Auto-merge up from 5.0 2009-02-07 16:50:31 +01:00
plugin Add the IBM DB2 for i storage engine. 2009-02-15 03:18:30 +01: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 Fix several quoting problems, and clean up IFS on failure in my_which(). 2009-03-16 15:28:06 -04:00
server-tools auto-merge 2009-03-19 09:42:36 -04:00
sql fixed a compilation warning 2009-03-27 16:25:16 +02:00
sql-bench Up-merge from 5.0 2009-03-11 15:03:25 -06:00
sql-common auto-merge 2009-03-19 09:42:36 -04:00
storage Add new headers to noinst_HEADERS (ibmdb2i storage engine) 2009-04-01 22:18:49 +02:00
strings merged 5.0-bugteam -> 5.1-bugteam 2009-03-24 15:58:52 +02:00
support-files merged 5.1-main -> 5.1-pe-stage 2009-03-09 12:52:08 +02:00
tests auto-merge 2009-03-19 09:44:58 -04:00
unittest Fix for server bug experienced in Maria (wrong "Truncated incorrect <var_name> 2008-02-18 23:29:39 +01:00
vio Merge bk-internal.mysql.com:/home/bk/mysql-5.1-build 2008-02-21 19:53:37 -05:00
win Bug#38784: Mysql server crash if table is altered with partition changes. 2008-11-12 13:36:53 +01:00
zlib The header "config.h" needs to be included "early" to control other headers. 2008-10-13 14:23:39 +02:00
.bzrignore Bug#40446 - mysql-test-run --gcov is broken 2009-02-27 12:20:53 +01:00
.cvsignore Import changeset 2000-07-31 21:29:14 +02:00
CMakeLists.txt merge fix for 43082 from 5.0-bugteam 2009-02-25 17:02:34 +01:00
configure.in Raise version number after cloning 5.1.34 2009-03-30 13:27:23 +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
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
Makefile.am merge: 5.1 -> 5.1-rpl 2009-01-08 19:03:56 +00: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.