Author: paul
Date: 2008-09-05 19:15:55 +0200 (Fri, 05 Sep 2008)
New Revision: 11680
Log:
r33648@frost: paul | 2008-09-05 12:11:53 -0500
Tweaks to Debug Sync information.
Modified:
trunk/dynamic-docs/command-optvars/mysqld.xml
trunk/mysqltest/writing-tests.xml
trunk/refman-6.0/dba-core.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:35828
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:33644
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:32972
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:35828
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:33648
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:32972
Modified: trunk/dynamic-docs/command-optvars/mysqld.xml
===================================================================
--- trunk/dynamic-docs/command-optvars/mysqld.xml 2008-09-05 16:52:43 UTC (rev 11679)
+++ trunk/dynamic-docs/command-optvars/mysqld.xml 2008-09-05 17:15:55 UTC (rev 11680)
Changed blocks: 1, Lines Added: 1, Lines Deleted: 1; 526 bytes
@@ -6689,7 +6689,7 @@
</shortdescription>
<types>
- <optype class="cmdline" format="--debug-sync-timeout=#" />
+ <optype class="cmdline" format="--debug-sync-timeout[=#]" />
<optype class="mycnf"/>
</types>
Modified: trunk/mysqltest/writing-tests.xml
===================================================================
--- trunk/mysqltest/writing-tests.xml 2008-09-05 16:52:43 UTC (rev 11679)
+++ trunk/mysqltest/writing-tests.xml 2008-09-05 17:15:55 UTC (rev 11680)
Changed blocks: 1, Lines Added: 2, Lines Deleted: 2; 791 bytes
@@ -1954,8 +1954,8 @@
</indexterm>
<para>
- The Debug Sync facility allows placement synchronization points in
- the code. They can be activated by statements that set the
+ The Debug Sync facility allows placement of synchronization points
+ in the code. They can be activated by statements that set the
<literal>debug_sync</literal> system variable. An active
synchronization point can emit a signal and/or wait for a signal
to be emitted by another thread. This waiting times out after 300
Modified: trunk/refman-6.0/dba-core.xml
===================================================================
--- trunk/refman-6.0/dba-core.xml 2008-09-05 16:52:43 UTC (rev 11679)
+++ trunk/refman-6.0/dba-core.xml 2008-09-05 17:15:55 UTC (rev 11680)
Changed blocks: 3, Lines Added: 23, Lines Deleted: 16; 3523 bytes
@@ -848,7 +848,7 @@
<secondary>mysqld</secondary>
</indexterm>
- <option>--debug-sync-timeout=<replaceable>N</replaceable></option>
+ <option>--debug-sync-timeout[=<replaceable>N</replaceable>]</option>
</para>
<para condition="dynamic:optvar:item" role="6.0:mysqld:debug-sync-timeout"/>
@@ -857,11 +857,13 @@
Controls whether the Debug Sync facility for testing and
debugging is enabled. Use of Debug Sync requires that MySQL
be configured with the <option>---enable-debug-sync</option>
- option (see <xref linkend="configure-options"/>). The option
- value is a timeout in seconds. The default value is 0, which
- disables Debug Sync. To enable it, specify a value greater
- than 0; this value also becomes the default timeout for
- individual synchronization points.
+ option (see <xref linkend="configure-options"/>). If Debug
+ Sync is not compiled in, this option is not available. The
+ option value is a timeout in seconds. The default value is
+ 0, which disables Debug Sync. To enable it, specify a value
+ greater than 0; this value also becomes the default timeout
+ for individual synchronization points. If the option is
+ given without a value, the timeout is set to 300 seconds.
</para>
<para>
@@ -4466,20 +4468,25 @@
<para>
This variable is the user interface to the Debug Sync
- facility. The global value is read only and indicates
- whether the facility is enabled. Use of Debug Sync requires
- that MySQL be configured with the
- <option>---enable-debug-sync</option> option (see
- <xref linkend="configure-options"/>). By default, Debug Sync
- is disabled and the value of <literal>debug_sync</literal>
- is <literal>OFF</literal>. If the server is started with
+ facility. Use of Debug Sync requires that MySQL be
+ configured with the <option>---enable-debug-sync</option>
+ option (see <xref linkend="configure-options"/>). If Debug
+ Sync is not compiled in, this system variable is not
+ available.
+ </para>
+
+ <para>
+ The global variable value is read only and indicates whether
+ the facility is enabled. By default, Debug Sync is disabled
+ and the value of <literal>debug_sync</literal> is
+ <literal>OFF</literal>. If the server is started with
<option>--debug-sync-timeout=<replaceable>N</replaceable></option>,
where <replaceable>N</replaceable> is a timeout value
greater than 0, Debug Sync is enabled and the value of
<literal>debug_sync</literal> is <literal>ON - current
- signal ''</literal>. Also, <replaceable>N</replaceable>
- becomes the default timeout for individual synchronization
- points.
+ signal</literal> followed by the signal name. Also,
+ <replaceable>N</replaceable> becomes the default timeout for
+ individual synchronization points.
</para>
<para>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r11680 - in trunk: . dynamic-docs/command-optvars mysqltest refman-6.0 | paul.dubois | 5 Sep |