Author: paul
Date: 2007-11-21 05:41:03 +0100 (Wed, 21 Nov 2007)
New Revision: 8805
Log:
r27233@frost: paul | 2007-11-20 22:37:08 -0600
mysql now has --comments/--skip-comments option to control whether
comments are retained in/stripped from statements sent to the server.
(Default: stripped)
Document bugfixes:
Bug#11230: Keeping comments when storing stored procedures
Bug#26215: mysql command line client should not strip comments from SQL statements
Modified:
trunk/refman-5.0/client-utility-programs.xml
trunk/refman-5.1/client-utility-programs.xml
trunk/refman-6.0/client-utility-programs.xml
Property changes on: trunk
___________________________________________________________________
Name: svk:merge
- 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:33071
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:27204
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:22282
+ 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:33071
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:27233
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:22282
Modified: trunk/refman-5.0/client-utility-programs.xml
===================================================================
--- trunk/refman-5.0/client-utility-programs.xml 2007-11-21 00:15:05 UTC (rev 8804)
+++ trunk/refman-5.0/client-utility-programs.xml 2007-11-21 04:41:03 UTC (rev 8805)
Changed blocks: 1, Lines Added: 23, Lines Deleted: 0; 1232 bytes
@@ -4208,6 +4208,29 @@
</listitem>
<listitem>
+ <para id="option_mysql_comments">
+ <indexterm>
+ <primary>mysql</primary>
+ <secondary>comments option</secondary>
+ </indexterm>
+
+ <indexterm>
+ <primary>comments option</primary>
+ <secondary>mysql</secondary>
+ </indexterm>
+
+ <option>--comments</option>, <option>-c</option>
+ </para>
+
+ <para>
+ Whether to preserve comments in statements sent to the
+ server. The default is --skip-comments (discard comments),
+ enable with --comments (preserve comments). This option
+ was added in MySQL 5.0.52.
+ </para>
+ </listitem>
+
+ <listitem>
<para id="option_mysql_compress">
<indexterm>
<primary>mysql</primary>
Modified: trunk/refman-5.1/client-utility-programs.xml
===================================================================
--- trunk/refman-5.1/client-utility-programs.xml 2007-11-21 00:15:05 UTC (rev 8804)
+++ trunk/refman-5.1/client-utility-programs.xml 2007-11-21 04:41:03 UTC (rev 8805)
Changed blocks: 1, Lines Added: 23, Lines Deleted: 0; 1232 bytes
@@ -4232,6 +4232,29 @@
</listitem>
<listitem>
+ <para id="option_mysql_comments">
+ <indexterm>
+ <primary>mysql</primary>
+ <secondary>comments option</secondary>
+ </indexterm>
+
+ <indexterm>
+ <primary>comments option</primary>
+ <secondary>mysql</secondary>
+ </indexterm>
+
+ <option>--comments</option>, <option>-c</option>
+ </para>
+
+ <para>
+ Whether to preserve comments in statements sent to the
+ server. The default is --skip-comments (discard comments),
+ enable with --comments (preserve comments). This option
+ was added in MySQL 5.1.23.
+ </para>
+ </listitem>
+
+ <listitem>
<para id="option_mysql_compress">
<indexterm>
<primary>mysql</primary>
Modified: trunk/refman-6.0/client-utility-programs.xml
===================================================================
--- trunk/refman-6.0/client-utility-programs.xml 2007-11-21 00:15:05 UTC (rev 8804)
+++ trunk/refman-6.0/client-utility-programs.xml 2007-11-21 04:41:03 UTC (rev 8805)
Changed blocks: 1, Lines Added: 23, Lines Deleted: 0; 1231 bytes
@@ -4228,6 +4228,29 @@
</listitem>
<listitem>
+ <para id="option_mysql_comments">
+ <indexterm>
+ <primary>mysql</primary>
+ <secondary>comments option</secondary>
+ </indexterm>
+
+ <indexterm>
+ <primary>comments option</primary>
+ <secondary>mysql</secondary>
+ </indexterm>
+
+ <option>--comments</option>, <option>-c</option>
+ </para>
+
+ <para>
+ Whether to preserve comments in statements sent to the
+ server. The default is --skip-comments (discard comments),
+ enable with --comments (preserve comments). This option
+ was added in MySQL 6.0.4.
+ </para>
+ </listitem>
+
+ <listitem>
<para id="option_mysql_compress">
<indexterm>
<primary>mysql</primary>
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r8805 - in trunk: . refman-5.0 refman-5.1 refman-6.0 | paul | 21 Nov |