Author: jstephens
Date: 2007-12-13 16:55:12 +0100 (Thu, 13 Dec 2007)
New Revision: 9289
Log:
DIV is permitted in partitioning expressions, and / is disallowed
(Thanks, MattiasJ!)
Modified:
trunk/refman-5.1/partitioning.xml
trunk/refman-6.0/partitioning.xml
Modified: trunk/refman-5.1/partitioning.xml
===================================================================
--- trunk/refman-5.1/partitioning.xml 2007-12-13 15:47:35 UTC (rev 9288)
+++ trunk/refman-5.1/partitioning.xml 2007-12-13 15:55:12 UTC (rev 9289)
Changed blocks: 1, Lines Added: 13, Lines Deleted: 9; 1851 bytes
@@ -4345,20 +4345,24 @@
</indexterm>
Use of the arithmetic operators <literal>+</literal>,
- <literal>−</literal>, <literal>×</literal>, and
- <literal>/</literal> is permitted in partitioning
- expressions. However, the result must be an integer value or
- <literal>NULL</literal> (except in the case of
- <literal>[LINEAR] KEY</literal> partitioning, as discussed
- elswhere in this chapter — see
- <xref linkend="partitioning-types"/>, for more information).
- The <literal>DIV</literal> operator is also supported. (Bug
- #30188)
+ <literal>−</literal>, and <literal>×</literal>
+ is permitted in partitioning expressions. However, the
+ result must be an integer value or <literal>NULL</literal>
+ (except in the case of <literal>[LINEAR] KEY</literal>
+ partitioning, as discussed elswhere in this chapter —
+ see <xref linkend="partitioning-types"/>, for more
+ information).
</para>
</formalpara>
<para>
+ Beginning with MySQL 5.1.23, the <literal>DIV</literal>
+ operator is also supported, and the <literal>/</literal>
+ operator is disallowed. (Bug #30188)
+ </para>
+
+ <para>
Beginning with MySQL 5.1.12, the bit operators
<function role="sqlop" condition="operator_bitwise-or">|</function>,
<function role="sqlop" condition="operator_bitwise-and">&</function>,
Modified: trunk/refman-6.0/partitioning.xml
===================================================================
--- trunk/refman-6.0/partitioning.xml 2007-12-13 15:47:35 UTC (rev 9288)
+++ trunk/refman-6.0/partitioning.xml 2007-12-13 15:55:12 UTC (rev 9289)
Changed blocks: 1, Lines Added: 6, Lines Deleted: 2; 1021 bytes
@@ -4252,13 +4252,17 @@
<literal>[LINEAR] KEY</literal> partitioning, as discussed
elswhere in this chapter — see
<xref linkend="partitioning-types"/>, for more information).
- The <literal>DIV</literal> operator is also supported. (Bug
- #30188)
</para>
</formalpara>
<para>
+ Beginning with MySQL 6.0.4, the <literal>DIV</literal>
+ operator is also supported, and the <literal>/</literal>
+ operator is disallowed. (Bug #30188)
+ </para>
+
+ <para>
The bit operators
<function role="sqlop" condition="operator_bitwise-or">|</function>,
<function role="sqlop" condition="operator_bitwise-and">&</function>,
| Thread |
|---|
| • svn commit - mysqldoc@docsrva: r9289 - in trunk: refman-5.1 refman-6.0 | jon | 13 Dec |