Author: paul
Date: 2008-04-17 01:24:38 +0200 (Thu, 17 Apr 2008)
New Revision: 10517
Log:
r30772@frost: paul | 2008-04-16 18:23:49 -0500
Document debug system variable. (Serg)
Modified:
trunk/dynamic-docs/command-optvars/mysqld.xml
trunk/it/refman-5.1/dba-core.xml
trunk/pt/refman-5.1/dba-core.xml
trunk/refman-5.1/dba-core.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:30771
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:30781
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:35828
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:30772
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:30781
Modified: trunk/dynamic-docs/command-optvars/mysqld.xml
===================================================================
--- trunk/dynamic-docs/command-optvars/mysqld.xml 2008-04-16 23:24:29 UTC (rev 10516)
+++ trunk/dynamic-docs/command-optvars/mysqld.xml 2008-04-16 23:24:38 UTC (rev 10517)
Changed blocks: 1, Lines Added: 1, Lines Deleted: 0; 542 bytes
@@ -18429,6 +18429,7 @@
<types>
<optype class="cmdline" format="--debug[=debug_options]"/>
<optype class="mycnf"/>
+ <vartype isdynamic="yes" class="system" scope="both"/>
</types>
<values vartype="string" platform="all">
Modified: trunk/it/refman-5.1/dba-core.xml
===================================================================
--- trunk/it/refman-5.1/dba-core.xml 2008-04-16 23:24:29 UTC (rev 10516)
+++ trunk/it/refman-5.1/dba-core.xml 2008-04-16 23:24:38 UTC (rev 10517)
Changed blocks: 2, Lines Added: 62, Lines Deleted: 0; 2494 bytes
@@ -783,6 +783,14 @@
server's standard error output. Typically, this output is
written to the error log.
</para>
+
+ <para>
+ This option may be given multiple times. Values that begin
+ with <literal>+</literal> or <literal>-</literal> are added
+ to or subtracted from the previous value. For example,
+ <option>--debug=T</option> <option>--debug=+P</option> sets
+ the value to <literal>P:T</literal>.
+ </para>
</listitem>
<listitem>
@@ -4196,6 +4204,60 @@
</listitem>
<listitem>
+ <para>
+ <literal>debug</literal>
+ </para>
+
+ <para condition="dynamic:optvar:item" role="5.1:mysqld:debug"/>
+
+ <para>
+ This variable indicates the current debugging settings. It
+ is available only for servers built with debugging support.
+ The initial value comes from the value of instances of the
+ <option>--debug</option> option given at server startup. The
+ global and session values may be set at runtime; the
+ <literal>SUPER</literal> privilege is required, even for the
+ session value.
+ </para>
+
+ <para>
+ Assigning a value that begins with <literal>+</literal> or
+ <literal>-</literal> cause the value to added to or
+ subtracted from the current value:
+ </para>
+
+<programlisting>
+mysql> <userinput>SET debug = 'T';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+
+mysql> <userinput>SET debug = '+P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| P:T |
++---------+
+
+mysql> <userinput>SET debug = '-P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+</programlisting>
+
+ <para>
+ This variable was added in MySQL 5.1.7.
+ </para>
+ </listitem>
+
+ <listitem>
<para id="option_mysqld_default_week_format">
<literal>default_week_format</literal>
</para>
Modified: trunk/pt/refman-5.1/dba-core.xml
===================================================================
--- trunk/pt/refman-5.1/dba-core.xml 2008-04-16 23:24:29 UTC (rev 10516)
+++ trunk/pt/refman-5.1/dba-core.xml 2008-04-16 23:24:38 UTC (rev 10517)
Changed blocks: 2, Lines Added: 62, Lines Deleted: 0; 2494 bytes
@@ -783,6 +783,14 @@
server's standard error output. Typically, this output is
written to the error log.
</para>
+
+ <para>
+ This option may be given multiple times. Values that begin
+ with <literal>+</literal> or <literal>-</literal> are added
+ to or subtracted from the previous value. For example,
+ <option>--debug=T</option> <option>--debug=+P</option> sets
+ the value to <literal>P:T</literal>.
+ </para>
</listitem>
<listitem>
@@ -4196,6 +4204,60 @@
</listitem>
<listitem>
+ <para>
+ <literal>debug</literal>
+ </para>
+
+ <para condition="dynamic:optvar:item" role="5.1:mysqld:debug"/>
+
+ <para>
+ This variable indicates the current debugging settings. It
+ is available only for servers built with debugging support.
+ The initial value comes from the value of instances of the
+ <option>--debug</option> option given at server startup. The
+ global and session values may be set at runtime; the
+ <literal>SUPER</literal> privilege is required, even for the
+ session value.
+ </para>
+
+ <para>
+ Assigning a value that begins with <literal>+</literal> or
+ <literal>-</literal> cause the value to added to or
+ subtracted from the current value:
+ </para>
+
+<programlisting>
+mysql> <userinput>SET debug = 'T';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+
+mysql> <userinput>SET debug = '+P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| P:T |
++---------+
+
+mysql> <userinput>SET debug = '-P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+</programlisting>
+
+ <para>
+ This variable was added in MySQL 5.1.7.
+ </para>
+ </listitem>
+
+ <listitem>
<para id="option_mysqld_default_week_format">
<literal>default_week_format</literal>
</para>
Modified: trunk/refman-5.1/dba-core.xml
===================================================================
--- trunk/refman-5.1/dba-core.xml 2008-04-16 23:24:29 UTC (rev 10516)
+++ trunk/refman-5.1/dba-core.xml 2008-04-16 23:24:38 UTC (rev 10517)
Changed blocks: 2, Lines Added: 62, Lines Deleted: 0; 2485 bytes
@@ -799,6 +799,14 @@
server's standard error output. Typically, this output is
written to the error log.
</para>
+
+ <para>
+ This option may be given multiple times. Values that begin
+ with <literal>+</literal> or <literal>-</literal> are added
+ to or subtracted from the previous value. For example,
+ <option>--debug=T</option> <option>--debug=+P</option> sets
+ the value to <literal>P:T</literal>.
+ </para>
</listitem>
<listitem>
@@ -4212,6 +4220,60 @@
</listitem>
<listitem>
+ <para>
+ <literal>debug</literal>
+ </para>
+
+ <para condition="dynamic:optvar:item" role="5.1:mysqld:debug"/>
+
+ <para>
+ This variable indicates the current debugging settings. It
+ is available only for servers built with debugging support.
+ The initial value comes from the value of instances of the
+ <option>--debug</option> option given at server startup. The
+ global and session values may be set at runtime; the
+ <literal>SUPER</literal> privilege is required, even for the
+ session value.
+ </para>
+
+ <para>
+ Assigning a value that begins with <literal>+</literal> or
+ <literal>-</literal> cause the value to added to or
+ subtracted from the current value:
+ </para>
+
+<programlisting>
+mysql> <userinput>SET debug = 'T';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+
+mysql> <userinput>SET debug = '+P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| P:T |
++---------+
+
+mysql> <userinput>SET debug = '-P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+</programlisting>
+
+ <para>
+ This variable was added in MySQL 5.1.7.
+ </para>
+ </listitem>
+
+ <listitem>
<para id="option_mysqld_default_week_format">
<literal>default_week_format</literal>
</para>
Modified: trunk/refman-6.0/dba-core.xml
===================================================================
--- trunk/refman-6.0/dba-core.xml 2008-04-16 23:24:29 UTC (rev 10516)
+++ trunk/refman-6.0/dba-core.xml 2008-04-16 23:24:38 UTC (rev 10517)
Changed blocks: 2, Lines Added: 58, Lines Deleted: 0; 2397 bytes
@@ -796,6 +796,14 @@
server's standard error output. Typically, this output is
written to the error log.
</para>
+
+ <para>
+ This option may be given multiple times. Values that begin
+ with <literal>+</literal> or <literal>-</literal> are added
+ to or subtracted from the previous value. For example,
+ <option>--debug=T</option> <option>--debug=+P</option> sets
+ the value to <literal>P:T</literal>.
+ </para>
</listitem>
<listitem>
@@ -4150,6 +4158,56 @@
</listitem>
<listitem>
+ <para>
+ <literal>debug</literal>
+ </para>
+
+ <para condition="dynamic:optvar:item" role="6.0:mysqld:debug"/>
+
+ <para>
+ This variable indicates the current debugging settings. It
+ is available only for servers built with debugging support.
+ The initial value comes from the value of instances of the
+ <option>--debug</option> option given at server startup. The
+ global and session values may be set at runtime; the
+ <literal>SUPER</literal> privilege is required, even for the
+ session value.
+ </para>
+
+ <para>
+ Assigning a value that begins with <literal>+</literal> or
+ <literal>-</literal> cause the value to added to or
+ subtracted from the current value:
+ </para>
+
+<programlisting>
+mysql> <userinput>SET debug = 'T';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+
+mysql> <userinput>SET debug = '+P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| P:T |
++---------+
+
+mysql> <userinput>SET debug = '-P';</userinput>
+mysql> <userinput>SELECT @@debug;</userinput>
++---------+
+| @@debug |
++---------+
+| T |
++---------+
+</programlisting>
+ </listitem>
+
+ <listitem>
<para id="option_mysqld_default_week_format">
<literal>default_week_format</literal>
</para>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r10517 - in trunk: . dynamic-docs/command-optvars it/refman-5.1 pt/refman-5.1 refman-5.1 refman-6.0 | paul | 17 Apr |