List:Commits« Previous MessageNext Message »
From:paul Date:August 8 2007 9:32pm
Subject:svn commit - mysqldoc@docsrva: r7390 - in trunk: . dynamic-docs/command-optvars refman-5.1 refman-5.2
View as plain text  
Author: paul
Date: 2007-08-08 23:32:17 +0200 (Wed, 08 Aug 2007)
New Revision: 7390

Log:
 r28523@polar:  paul | 2007-08-08 14:07:34 -0500
 Document thread_handling system variable. (More flexible replacement
 for old --one-thread option.)


Modified:
   trunk/dynamic-docs/command-optvars/mysqld.xml
   trunk/refman-5.1/dba-core.xml
   trunk/refman-5.1/news-5.1.xml
   trunk/refman-5.2/dba-core.xml

Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:28522
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:23508
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:19268
   + 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:28523
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:23508
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:19268


Modified: trunk/dynamic-docs/command-optvars/mysqld.xml
===================================================================
--- trunk/dynamic-docs/command-optvars/mysqld.xml	2007-08-08 21:32:03 UTC (rev 7389)
+++ trunk/dynamic-docs/command-optvars/mysqld.xml	2007-08-08 21:32:17 UTC (rev 7390)
Changed blocks: 1, Lines Added: 22, Lines Deleted: 0; 1323 bytes

@@ -10288,6 +10288,28 @@
       <manual version="5.2"/>
     </versions>
   </option>
+  <option command="mysqld" section="server" id="thread_handling">
+    <xrefto id="option_mysqld_thread_handling"/>
+    <name>thread_handling</name>
+    <shortdescription lang="en">The thread-handling model</shortdescription>
+    <types>
+      <optype class="cmdline" format="--thread_handling=name" setvar="thread_handling"/>
+      <optype class="mycnf"/>
+      <vartype isdynamic="no" scope="global" class="system"/>
+    </types>
+    <values vartype="numeric" platform="all">
+      <value default="196608"/>
+    </values>
+    <values vartype="enumeration" platform="all">
+      <choice value="no-threads"/>
+      <choice value="one-thread-per-connection"/>
+    </values>
+    <versions>
+      <manual version="5.1"/>
+      <introduced version="5.1.17"/>
+      <manual version="5.2"/>
+    </versions>
+  </option>
   <option command="mysqld" section="server" id="thread_stack">
     <xrefto id="option_mysqld_thread_stack"/>
     <name>thread_stack</name>


Modified: trunk/refman-5.1/dba-core.xml
===================================================================
--- trunk/refman-5.1/dba-core.xml	2007-08-08 21:32:03 UTC (rev 7389)
+++ trunk/refman-5.1/dba-core.xml	2007-08-08 21:32:17 UTC (rev 7390)
Changed blocks: 2, Lines Added: 23, Lines Deleted: 0; 1555 bytes

@@ -2318,6 +2318,11 @@
               <ulink url="http://forge.mysql.com/wiki/MySQL_Internals_Porting">MySQL
               Internals: Porting</ulink>.
             </para>
+
+            <para>
+              As of MySQL 5.1.17, this option is deprecated; use
+              <option>--thread_handling=one-thread</option> instead.
+            </para>
           </listitem>
 
           <listitem>

@@ -7472,6 +7477,24 @@
           </listitem>
 
           <listitem>
+            <para id="option_mysqld_thread_handling">
+              <literal>thread_handling</literal>
+            </para>
+
+            <para>
+              The thread-handling model. The allowable values are
+              <literal>one-thread</literal> (the server uses one thread)
+              and <literal>one-thread-per-connection</literal> (the
+              server uses multiple threads).
+              <literal>one-thread</literal> is useful for debugging
+              under Linux; see see
+              <ulink url="http://forge.mysql.com/wiki/MySQL_Internals_Porting">MySQL
+              Internals: Porting</ulink>. This variable was added in
+              MySQL 5.1.17
+            </para>
+          </listitem>
+
+          <listitem>
             <para id="option_mysqld_thread_stack">
               <literal>thread_stack</literal>
             </para>


Modified: trunk/refman-5.1/news-5.1.xml
===================================================================
--- trunk/refman-5.1/news-5.1.xml	2007-08-08 21:32:03 UTC (rev 7389)
+++ trunk/refman-5.1/news-5.1.xml	2007-08-08 21:32:17 UTC (rev 7390)
Changed blocks: 1, Lines Added: 10, Lines Deleted: 0; 887 bytes

@@ -7740,6 +7740,16 @@
 
       <listitem>
         <para>
+          Added the <literal>thread_handling</literal> system variable
+          to control whether the server use a single thread or one
+          thread per connection. The <option>--one-thread</option>
+          option now is deprecated; use
+          <option>--thread_handling=one-thread</option> instead.
+        </para>
+      </listitem>
+
+      <listitem>
+        <para>
           Added the <literal>old_mode</literal> system variable to cause
           the server to revert to certain behaviors present in older
           versions. Currently, this variable affects handling of index


Modified: trunk/refman-5.2/dba-core.xml
===================================================================
--- trunk/refman-5.2/dba-core.xml	2007-08-08 21:32:03 UTC (rev 7389)
+++ trunk/refman-5.2/dba-core.xml	2007-08-08 21:32:17 UTC (rev 7390)
Changed blocks: 2, Lines Added: 22, Lines Deleted: 0; 1481 bytes

@@ -2269,6 +2269,11 @@
               <ulink url="http://forge.mysql.com/wiki/MySQL_Internals_Porting">MySQL
               Internals: Porting</ulink>.
             </para>
+
+            <para>
+              This option is deprecated; use
+              <option>--thread_handling=one-thread</option> instead.
+            </para>
           </listitem>
 
           <listitem>

@@ -7406,6 +7411,23 @@
           </listitem>
 
           <listitem>
+            <para id="option_mysqld_thread_handling">
+              <literal>thread_handling</literal>
+            </para>
+
+            <para>
+              The thread-handling model. The allowable values are
+              <literal>one-thread</literal> (the server uses one thread)
+              and <literal>one-thread-per-connection</literal> (the
+              server uses multiple threads).
+              <literal>one-thread</literal> is useful for debugging
+              under Linux; see see
+              <ulink url="http://forge.mysql.com/wiki/MySQL_Internals_Porting">MySQL
+              Internals: Porting</ulink>.
+            </para>
+          </listitem>
+
+          <listitem>
             <para id="option_mysqld_thread_stack">
               <literal>thread_stack</literal>
             </para>


Thread
svn commit - mysqldoc@docsrva: r7390 - in trunk: . dynamic-docs/command-optvars refman-5.1 refman-5.2paul8 Aug