Author: jstephens
Date: 2007-07-25 17:34:03 +0200 (Wed, 25 Jul 2007)
New Revision: 7206
Log:
Fixed Docs Bug #29925.
Modified:
trunk/refman-5.1/sql-syntax.xml
trunk/refman-5.2/sql-syntax.xml
Modified: trunk/refman-5.1/sql-syntax.xml
===================================================================
--- trunk/refman-5.1/sql-syntax.xml 2007-07-25 15:24:30 UTC (rev 7205)
+++ trunk/refman-5.1/sql-syntax.xml 2007-07-25 15:34:03 UTC (rev 7206)
Changed blocks: 3, Lines Added: 4, Lines Deleted: 5; 1634 bytes
@@ -2424,7 +2424,7 @@
CREATE [TEMPORARY] TABLE [IF NOT EXISTS] <replaceable>tbl_name</replaceable>
[(<replaceable>create_definition</replaceable>,...)]
[<replaceable>table_option</replaceable> ...]
- [<replaceable>partition_options</replaceable>]
+ [PARTITION BY <replaceable>partition_options</replaceable>]
<replaceable>select_statement</replaceable>
</programlisting>
@@ -2541,7 +2541,6 @@
| UNION [=]
(<replaceable>tbl_name</replaceable>[,<replaceable>tbl_name</replaceable>]...)
<replaceable>partition_options</replaceable>:
- PARTITION BY
[LINEAR] HASH(<replaceable>expr</replaceable>)
| [LINEAR] KEY(<replaceable>column_list</replaceable>)
| RANGE(<replaceable>expr</replaceable>)
@@ -3755,9 +3754,9 @@
</para>
<para>
- If used, <replaceable>partition_options</replaceable> must
- contain at a minimum a <literal>PARTITION BY</literal> clause.
- This clause contains the function that is used to determine the
+ If used, <replaceable>partition_options</replaceable> is
+ preceded by a <literal>PARTITION BY</literal> clause. This
+ clause contains the function that is used to determine the
partition; the function returns an integer value ranging from 1
to <replaceable>num</replaceable>, where
<replaceable>num</replaceable> is the number of partitions. (The
Modified: trunk/refman-5.2/sql-syntax.xml
===================================================================
--- trunk/refman-5.2/sql-syntax.xml 2007-07-25 15:24:30 UTC (rev 7205)
+++ trunk/refman-5.2/sql-syntax.xml 2007-07-25 15:34:03 UTC (rev 7206)
Changed blocks: 3, Lines Added: 4, Lines Deleted: 5; 1634 bytes
@@ -2432,7 +2432,7 @@
CREATE [TEMPORARY] TABLE [IF NOT EXISTS] <replaceable>tbl_name</replaceable>
[(<replaceable>create_definition</replaceable>,...)]
[<replaceable>table_option</replaceable> ...]
- [<replaceable>partition_options</replaceable>]
+ [PARTITION BY <replaceable>partition_options</replaceable>]
<replaceable>select_statement</replaceable>
</programlisting>
@@ -2550,7 +2550,6 @@
| UNION [=]
(<replaceable>tbl_name</replaceable>[,<replaceable>tbl_name</replaceable>]...)
<replaceable>partition_options</replaceable>:
- PARTITION BY
[LINEAR] HASH(<replaceable>expr</replaceable>)
| [LINEAR] KEY(<replaceable>column_list</replaceable>)
| RANGE(<replaceable>expr</replaceable>)
@@ -3772,9 +3771,9 @@
</para>
<para>
- If used, <replaceable>partition_options</replaceable> must
- contain at a minimum a <literal>PARTITION BY</literal> clause.
- This clause contains the function that is used to determine the
+ If used, <replaceable>partition_options</replaceable> is
+ preceded by a <literal>PARTITION BY</literal> clause. This
+ clause contains the function that is used to determine the
partition; the function returns an integer value ranging from 1
to <replaceable>num</replaceable>, where
<replaceable>num</replaceable> is the number of partitions. (The
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r7206 - in trunk: refman-5.1 refman-5.2 | jon | 25 Jul |