List:Commits« Previous MessageNext Message »
From:jon Date:July 21 2008 9:35am
Subject:svn commit - mysqldoc@docsrva: r11293 - in trunk: dynamic-docs/changelog refman-5.1 refman-6.0
View as plain text  
Author: jstephens
Date: 2008-07-21 11:35:43 +0200 (Mon, 21 Jul 2008)
New Revision: 11293

Log:

Documented fix for XML Bug #26051 (issues with boolean() function)



Modified:
   trunk/dynamic-docs/changelog/mysqld-1.xml
   trunk/refman-5.1/functions-core.xml
   trunk/refman-6.0/functions-core.xml


Modified: trunk/dynamic-docs/changelog/mysqld-1.xml
===================================================================
--- trunk/dynamic-docs/changelog/mysqld-1.xml	2008-07-21 08:01:30 UTC (rev 11292)
+++ trunk/dynamic-docs/changelog/mysqld-1.xml	2008-07-21 09:35:43 UTC (rev 11293)
Changed blocks: 1, Lines Added: 32, Lines Deleted: 0; 1126 bytes

@@ -9,6 +9,38 @@
   <logentry entrytype="bug">
 
     <tags>
+      <manual type="XML"/>
+      <manual type="XPath"/>
+      <manual type="boolean()"/>
+      <manual type="NULL"/>
+    </tags>
+
+    <bugs>
+      <fixes bugid="26051"/>
+    </bugs>
+
+    <versions>
+      <version ver="5.1.24"/>
+      <version ver="6.0.7"/>
+    </versions>
+
+    <message>
+
+      <para>
+        The XPath <literal>boolean()</literal> function did not cast
+        string and nodeset values correctly in some cases. It now
+        returns <literal>TRUE</literal> for any non-empty string or
+        nodeset and 0 for a <literal>NULL</literal> string, as specified
+        in the XPath standard..
+      </para>
+
+    </message>
+
+  </logentry>
+
+  <logentry entrytype="bug">
+
+    <tags>
       <highlight type="clusterapi"/>
       <manual type="NdbBlob::setValue()"/>
     </tags>


Modified: trunk/refman-5.1/functions-core.xml
===================================================================
--- trunk/refman-5.1/functions-core.xml	2008-07-21 08:01:30 UTC (rev 11292)
+++ trunk/refman-5.1/functions-core.xml	2008-07-21 09:35:43 UTC (rev 11293)
Changed blocks: 1, Lines Added: 12, Lines Deleted: 1; 1077 bytes

@@ -14119,13 +14119,24 @@
 
           <listitem>
             <para>
-              The following XPath functions are not supported:
+              The following XPath functions are not supported, or have
+              known issues as indicated:
             </para>
 
             <itemizedlist>
 
               <listitem>
                 <para>
+                  Prior to MySQL 5.1.24, the
+                  <literal>boolean()</literal> function did not produce
+                  correct results for some string and nodeset values,
+                  including the <literal>NULL</literal> string (see Bug
+                  #26051).
+                </para>
+              </listitem>
+
+              <listitem>
+                <para>
                   <literal>id()</literal>
                 </para>
               </listitem>


Modified: trunk/refman-6.0/functions-core.xml
===================================================================
--- trunk/refman-6.0/functions-core.xml	2008-07-21 08:01:30 UTC (rev 11292)
+++ trunk/refman-6.0/functions-core.xml	2008-07-21 09:35:43 UTC (rev 11293)
Changed blocks: 1, Lines Added: 11, Lines Deleted: 1; 1058 bytes

@@ -14526,13 +14526,23 @@
 
           <listitem>
             <para>
-              The following XPath functions are not supported:
+              The following XPath functions are not supported, or have
+              known issues as indicated:
             </para>
 
             <itemizedlist>
 
               <listitem>
                 <para>
+                  Prior to MySQL 6.0.7, the <literal>boolean()</literal>
+                  function did not produce correct results for some
+                  string and nodeset values, including the
+                  <literal>NULL</literal> string (see Bug #26051).
+                </para>
+              </listitem>
+
+              <listitem>
+                <para>
                   <literal>id()</literal>
                 </para>
               </listitem>


Thread
svn commit - mysqldoc@docsrva: r11293 - in trunk: dynamic-docs/changelog refman-5.1 refman-6.0jon21 Jul