List:Commits« Previous MessageNext Message »
From:jon.stephens Date:May 24 2010 3:23pm
Subject:svn commit - mysqldoc@docsrva: r20831 - in trunk: dynamic-docs/changelog dynamic-docs/command-optvars refman-5.1 refman-5.4 refman-5.5 refman-6.0
View as plain text  
Author: jstephens
Date: 2010-05-24 17:23:56 +0200 (Mon, 24 May 2010)
New Revision: 20831

Log:

Fix for Docs BUG#53728 (mysqldump --no-tablespaces option missing)

Update BUG#20839 changelog entry



Modified:
   trunk/dynamic-docs/changelog/mysqld.xml
   trunk/dynamic-docs/command-optvars/mysqldump.xml
   trunk/refman-5.1/programs-client-core.xml
   trunk/refman-5.4/programs-client-core.xml


Modified: trunk/dynamic-docs/changelog/mysqld.xml
===================================================================
--- trunk/dynamic-docs/changelog/mysqld.xml	2010-05-24 14:54:34 UTC (rev 20830)
+++ trunk/dynamic-docs/changelog/mysqld.xml	2010-05-24 15:23:56 UTC (rev 20831)
Changed blocks: 2, Lines Added: 19, Lines Deleted: 6; 1627 bytes

@@ -43857,10 +43857,13 @@
   <logentry entrytype="feature">
 
     <tags>
-      <highlight type="cluster"/>
+      <highlight type="diskdata"/>
+      <highlight type="importantchange"/>
       <manual type="mysqldump"/>
-      <manual type="Y"/>
-      <manual type="all-tablespaces"/>
+      <manual type="-Y"/>
+      <manual type="-y"/>
+      <manual type="--all-tablespaces"/>
+      <manual type="--no-tablespaces"/>
     </tags>
 
     <bugs>

@@ -43874,11 +43877,21 @@
     <message>
 
       <para>
-        (Disk Data): The output of <command>mysqldump</command> now
-        includes by default all tablespace and logfile group definitions
-        used by any tables or databases that are dumped.
+        The output of <command>mysqldump</command> now includes by
+        default all tablespace and logfile group definitions used by any
+        tables or databases that are dumped.
       </para>
 
+      <para>
+        This fix also introduces the
+        <option role="mysqldump">--no-tablespaces</option> option (short
+        form: <option>-y</option>) for <command>mysqldump</command>,
+        which has the effect of suppressing all
+        <literal role="stmt">CREATE LOGFILE GROUP</literal> and
+        <literal role="stmt">CREATE TABLESPACE</literal> statements in
+        the output.
+      </para>
+
       <note>
         <para>
           The working of the


Modified: trunk/dynamic-docs/command-optvars/mysqldump.xml
===================================================================
--- trunk/dynamic-docs/command-optvars/mysqldump.xml	2010-05-24 14:54:34 UTC (rev 20830)
+++ trunk/dynamic-docs/command-optvars/mysqldump.xml	2010-05-24 15:23:56 UTC (rev 20831)
Changed blocks: 1, Lines Added: 27, Lines Deleted: 0; 1035 bytes

@@ -1406,6 +1406,33 @@
 
   </mysqloption>
 
+  <mysqloption id="no-tablespaces">
+
+    <xrefto id="option_mysqldump_no-tablespaces"/>
+
+    <name>no-tablespaces</name>
+
+    <shortdescription>
+      Do not write any CREATE LOGFILE GROUP or CREATE TABLESPACE
+      statements in output
+    </shortdescription>
+
+    <types>
+      <optype class="cmdline" format="--no-tablespaces"/>
+      <optype class="cmdline" format="-y"/>
+      <optype class="mycnf"/>
+    </types>
+
+    <versions>
+      <manual version="5.1"/>
+      <introduced version="5.1.14"/>
+      <manual version="5.4"/>
+      <manual version="5.5"/>
+      <manual version="6.0"/>
+    </versions>
+
+  </mysqloption>
+
   <mysqloption id="opt">
 
     <xrefto id="option_mysqldump_opt"/>


Modified: trunk/refman-5.1/programs-client-core.xml
===================================================================
--- trunk/refman-5.1/programs-client-core.xml	2010-05-24 14:54:34 UTC (rev 20830)
+++ trunk/refman-5.1/programs-client-core.xml	2010-05-24 15:23:56 UTC (rev 20831)
Changed blocks: 2, Lines Added: 39, Lines Deleted: 0; 1956 bytes

@@ -7117,6 +7117,17 @@
             Do not write <literal role="stmt">CREATE TABLE</literal>
             statements that re-create each dumped table.
           </para>
+
+          <note>
+            <para>
+              This option does <emphasis>not</emphasis> not exclude
+              statements creating log file groups or tablespaces from
+              <command>mysqldump</command> output; in MySQL 5.1.14 and
+              later, you can use the
+              <option role="mysqldump">--no-tablespaces</option> option
+              for this purpose.
+            </para>
+          </note>
         </listitem>
 
         <listitem>

@@ -7167,6 +7178,34 @@
         </listitem>
 
         <listitem>
+          <para id="option_mysqldump_no-tablespaces">
+            <indexterm>
+              <primary>mysqldump</primary>
+              <secondary>no-tablespaces option</secondary>
+            </indexterm>
+
+            <indexterm>
+              <primary>no-tablespaces option</primary>
+              <secondary>mysqldump</secondary>
+            </indexterm>
+
+            <option role="mysqldump">--no-tablespaces</option>,
+            <option>-y</option>
+          </para>
+
+          <para>
+            This option suppresses all <literal role="stmt">CREATE
+            LOGFILE GROUP</literal> and <literal role="stmt">CREATE
+            TABLESPACE</literal> statements in the output of
+            <command>mysqldump</command>.
+          </para>
+
+          <para>
+            This option was added in MySQL 5.1.14.
+          </para>
+        </listitem>
+
+        <listitem>
           <para id="option_mysqldump_opt">
             <indexterm>
               <primary>mysqldump</primary>


Modified: trunk/refman-5.4/programs-client-core.xml
===================================================================


Changed blocks: 0, Lines Added: 0, Lines Deleted: 0; 118 bytes


Thread
svn commit - mysqldoc@docsrva: r20831 - in trunk: dynamic-docs/changelog dynamic-docs/command-optvars refman-5.1 refman-5.4 refman-5.5 refman-6.0jon.stephens24 May