List:Commits« Previous MessageNext Message »
From:paul Date:August 8 2007 7:45pm
Subject:svn commit - mysqldoc@docsrva: r7387 - in trunk: . refman-5.0 refman-5.1 refman-5.2
View as plain text  
Author: paul
Date: 2007-08-08 19:45:31 +0200 (Wed, 08 Aug 2007)
New Revision: 7387

Log:
 r28516@polar:  paul | 2007-08-08 12:31:02 -0500
 Document NO_DEFAULT_VALUE_FLAG (MYSQL_FIELD flag).


Modified:
   trunk/refman-5.0/apis-c.xml
   trunk/refman-5.1/apis-c.xml
   trunk/refman-5.2/apis-c.xml

Property changes on: trunk
___________________________________________________________________
Name: svk:merge
   - 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:28512
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:23508
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:19268
   + 4767c598-dc10-0410-bea0-d01b485662eb:/mysqldoc-local/mysqldoc/trunk:28516
7d8d2c4e-af1d-0410-ab9f-b038ce55645b:/mysqldoc-local/mysqldoc:23508
b5ec3a16-e900-0410-9ad2-d183a3acac99:/mysqldoc-local/mysqldoc/trunk:14218
bf112a9c-6c03-0410-a055-ad865cd57414:/mysqldoc-local/mysqldoc/trunk:19268


Modified: trunk/refman-5.0/apis-c.xml
===================================================================
--- trunk/refman-5.0/apis-c.xml	2007-08-08 17:09:27 UTC (rev 7386)
+++ trunk/refman-5.0/apis-c.xml	2007-08-08 17:45:31 UTC (rev 7387)
Changed blocks: 6, Lines Added: 60, Lines Deleted: 49; 6884 bytes

@@ -82,22 +82,21 @@
     program (and does not communicate with an external MySQL server),
     see <xref linkend="libmysqld"/>.
   </para>
-  
+
   <formalpara role="mnmas-kb">
-    
+
     <title>MySQL Enterprise</title>
-    
+
     <para>
-      MySQL Enterprise subscribers will find more information
-      about using the C API in the Knowledge Base articles,
+      MySQL Enterprise subscribers will find more information about
+      using the C API in the Knowledge Base articles,
       <ulink
url="https://kb.mysql.com/search.php?cat=search&amp;pagerRow=0&amp;Category=17">
-        The C API</ulink>. Access to the MySQL
-      Knowledge Base collection of articles is one of the
-      advantages of subscribing to MySQL Enterprise. For more
-      information see
+      The C API</ulink>. Access to the MySQL Knowledge Base collection
+      of articles is one of the advantages of subscribing to MySQL
+      Enterprise. For more information see
       <ulink url="&base-url-enterprise;advisors.html"/>.
     </para>
-    
+
   </formalpara>
 
   <section id="c-api-datatypes">

@@ -538,11 +537,27 @@
                 <entry><literal>TIMESTAMP_FLAG</literal></entry>
                 <entry>Field is a <literal>TIMESTAMP</literal>
(deprecated)</entry>
               </row>
+              <row>
+               
<entry><literal>NO_DEFAULT_VALUE_FLAG</literal></entry>
+                <entry>Field has no default value; see additional notes following
table</entry>
+              </row>
             </tbody>
           </tgroup>
         </informaltable>
 
         <para>
+          The <literal>NO_DEFAULT_VALUE_FLAG</literal> indicates that a
+          column has no <literal>DEFAULT</literal> clause in its
+          definition. This does not apply to <literal>NULL</literal>
+          columns (because such columns have a default of
+          <literal>NULL</literal>), or to
+          <literal>AUTO_INCREMENT</literal> columns (which have an
+          implied default value).
+          <literal>NO_DEFAULT_VALUE_FLAG</literal> was added in MySQL
+          5.0.2.
+        </para>
+
+        <para>
           Use of the <literal>BLOB_FLAG</literal>,
           <literal>ENUM_FLAG</literal>,
<literal>SET_FLAG</literal>, and
           <literal>TIMESTAMP_FLAG</literal> flags is deprecated because

@@ -1391,22 +1406,21 @@
       <literal>mysql_errno()</literal>. A string representation of the
       error may be obtained by calling <literal>mysql_error()</literal>.
     </para>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        MySQL Enterprise subscribers will find more information
-        about the C API functions in the Knowledge Base articles,
+        MySQL Enterprise subscribers will find more information about
+        the C API functions in the Knowledge Base articles,
         <ulink
url="https://kb.mysql.com/search.php?cat=search&amp;pagerRow=0&amp;category=17">
-          The C API</ulink>. Access to the MySQL
-        Knowledge Base collection of articles is one of the
-        advantages of subscribing to MySQL Enterprise. For more
-        information see
+        The C API</ulink>. Access to the MySQL Knowledge Base collection
+        of articles is one of the advantages of subscribing to MySQL
+        Enterprise. For more information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
 
     <section id="mysql-affected-rows">

@@ -8163,24 +8177,23 @@
       <literal>SHOW</literal> statements. Other statements are not
       supported in MySQL &current-series;.
     </para>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        MySQL Enterprise subscribers will find more information
-        about using prepared statements in the Knowledge Base article,
-        <ulink url="https://kb.mysql.com/view.php?id=5931"> 
-          How can I create server-side prepared statements?</ulink>. 
-        Access to the MySQL  Knowledge Base collection of articles is one of the
+        MySQL Enterprise subscribers will find more information about
+        using prepared statements in the Knowledge Base article,
+        <ulink url="https://kb.mysql.com/view.php?id=5931"> How can I
+        create server-side prepared statements?</ulink>. Access to the
+        MySQL Knowledge Base collection of articles is one of the
         advantages of subscribing to MySQL Enterprise. For more
         information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
-    
 
   </section>
 

@@ -13279,20 +13292,19 @@
     <indexterm>
       <primary><literal>mysql_store_result()</literal></primary>
     </indexterm>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        Subscribers to MySQL Enterprise  will find articles
-        about the C API in the MySQL Knowledge Base. Access to the
-        Knowledge Base collection of articles is one of the
-        advantages of subscribing to MySQL Enterprise. For more
-        information see
+        Subscribers to MySQL Enterprise will find articles about the C
+        API in the MySQL Knowledge Base. Access to the Knowledge Base
+        collection of articles is one of the advantages of subscribing
+        to MySQL Enterprise. For more information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
 
     <section id="null-mysql-store-result">

@@ -13662,24 +13674,23 @@
       The <literal>sh -c</literal> is needed to get the shell not to
       treat the output from <command>mysql_config</command> as one word.
     </para>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        Subscribers to MySQL Enterprise  will find an example
-        client program in the Knowledge Base article,
-        <ulink url="https://kb.mysql.com/view.php?id=5264"> 
-          Sample C program using the embedded MySQL server library
-        </ulink>. Access to the MySQL  Knowledge Base collection of articles is one
of the
+        Subscribers to MySQL Enterprise will find an example client
+        program in the Knowledge Base article,
+        <ulink url="https://kb.mysql.com/view.php?id=5264"> Sample C
+        program using the embedded MySQL server library </ulink>. Access
+        to the MySQL Knowledge Base collection of articles is one of the
         advantages of subscribing to MySQL Enterprise. For more
         information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
-    
 
   </section>
 


Modified: trunk/refman-5.1/apis-c.xml
===================================================================
--- trunk/refman-5.1/apis-c.xml	2007-08-08 17:09:27 UTC (rev 7386)
+++ trunk/refman-5.1/apis-c.xml	2007-08-08 17:45:31 UTC (rev 7387)
Changed blocks: 6, Lines Added: 58, Lines Deleted: 47; 6757 bytes

@@ -82,22 +82,21 @@
     program (and does not communicate with an external MySQL server),
     see <xref linkend="libmysqld"/>.
   </para>
-  
+
   <formalpara role="mnmas-kb">
-    
+
     <title>MySQL Enterprise</title>
-    
+
     <para>
-      MySQL Enterprise subscribers will find more information
-      about using the C API in the Knowledge Base articles,
+      MySQL Enterprise subscribers will find more information about
+      using the C API in the Knowledge Base articles,
       <ulink
url="https://kb.mysql.com/search.php?cat=search&amp;pagerRow=0&amp;Category=17">
-        The C API</ulink>. Access to the MySQL
-      Knowledge Base collection of articles is one of the
-      advantages of subscribing to MySQL Enterprise. For more
-      information see
+      The C API</ulink>. Access to the MySQL Knowledge Base collection
+      of articles is one of the advantages of subscribing to MySQL
+      Enterprise. For more information see
       <ulink url="&base-url-enterprise;advisors.html"/>.
     </para>
-    
+
   </formalpara>
 
   <section id="c-api-datatypes">

@@ -538,11 +537,25 @@
                 <entry><literal>TIMESTAMP_FLAG</literal></entry>
                 <entry>Field is a <literal>TIMESTAMP</literal>
(deprecated)</entry>
               </row>
+              <row>
+               
<entry><literal>NO_DEFAULT_VALUE_FLAG</literal></entry>
+                <entry>Field has no default value; see additional notes following
table</entry>
+              </row>
             </tbody>
           </tgroup>
         </informaltable>
 
         <para>
+          The <literal>NO_DEFAULT_VALUE_FLAG</literal> indicates that a
+          column has no <literal>DEFAULT</literal> clause in its
+          definition. This does not apply to <literal>NULL</literal>
+          columns (because such columns have a default of
+          <literal>NULL</literal>), or to
+          <literal>AUTO_INCREMENT</literal> columns (which have an
+          implied default value).
+        </para>
+
+        <para>
           Use of the <literal>BLOB_FLAG</literal>,
           <literal>ENUM_FLAG</literal>,
<literal>SET_FLAG</literal>, and
           <literal>TIMESTAMP_FLAG</literal> flags is deprecated because

@@ -1382,22 +1395,21 @@
       <literal>mysql_errno()</literal>. A string representation of the
       error may be obtained by calling <literal>mysql_error()</literal>.
     </para>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        MySQL Enterprise subscribers will find more information
-        about the C API functions in the Knowledge Base articles,
+        MySQL Enterprise subscribers will find more information about
+        the C API functions in the Knowledge Base articles,
         <ulink
url="https://kb.mysql.com/search.php?cat=search&amp;pagerRow=0&amp;category=17">
-          The C API</ulink>. Access to the MySQL
-        Knowledge Base collection of articles is one of the
-        advantages of subscribing to MySQL Enterprise. For more
-        information see
+        The C API</ulink>. Access to the MySQL Knowledge Base collection
+        of articles is one of the advantages of subscribing to MySQL
+        Enterprise. For more information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
 
     <section id="mysql-affected-rows">

@@ -8276,22 +8288,22 @@
     <para>
       Other statements are not yet supported in MySQL &current-series;.
     </para>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        MySQL Enterprise subscribers will find more information
-        about using prepared statements in the Knowledge Base article,
-        <ulink url="https://kb.mysql.com/view.php?id=5931"> 
-        How can I create server-side prepared statements?</ulink>. 
-        Access to the MySQL  Knowledge Base collection of articles is one of the
+        MySQL Enterprise subscribers will find more information about
+        using prepared statements in the Knowledge Base article,
+        <ulink url="https://kb.mysql.com/view.php?id=5931"> How can I
+        create server-side prepared statements?</ulink>. Access to the
+        MySQL Knowledge Base collection of articles is one of the
         advantages of subscribing to MySQL Enterprise. For more
         information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
 
   </section>

@@ -13295,20 +13307,19 @@
     <indexterm>
       <primary><literal>mysql_store_result()</literal></primary>
     </indexterm>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        Subscribers to MySQL Enterprise  will find articles
-        about the C API in the MySQL Knowledge Base. Access to the
-        Knowledge Base collection of articles is one of the
-        advantages of subscribing to MySQL Enterprise. For more
-        information see
+        Subscribers to MySQL Enterprise will find articles about the C
+        API in the MySQL Knowledge Base. Access to the Knowledge Base
+        collection of articles is one of the advantages of subscribing
+        to MySQL Enterprise. For more information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
 
     <section id="null-mysql-store-result">

@@ -13682,22 +13693,22 @@
       The <literal>sh -c</literal> is needed to get the shell not to
       treat the output from <command>mysql_config</command> as one word.
     </para>
-    
+
     <formalpara role="mnmas-kb">
-      
+
       <title>MySQL Enterprise</title>
-      
+
       <para>
-        Subscribers to MySQL Enterprise  will find an example
-        client program in the Knowledge Base article,
-        <ulink url="https://kb.mysql.com/view.php?id=5264"> 
-          Sample C program using the embedded MySQL server library
-         </ulink>. Access to the MySQL  Knowledge Base collection of articles is
one of the
+        Subscribers to MySQL Enterprise will find an example client
+        program in the Knowledge Base article,
+        <ulink url="https://kb.mysql.com/view.php?id=5264"> Sample C
+        program using the embedded MySQL server library </ulink>. Access
+        to the MySQL Knowledge Base collection of articles is one of the
         advantages of subscribing to MySQL Enterprise. For more
         information see
         <ulink url="&base-url-enterprise;advisors.html"/>.
       </para>
-      
+
     </formalpara>
 
   </section>


Modified: trunk/refman-5.2/apis-c.xml
===================================================================
--- trunk/refman-5.2/apis-c.xml	2007-08-08 17:09:27 UTC (rev 7386)
+++ trunk/refman-5.2/apis-c.xml	2007-08-08 17:45:31 UTC (rev 7387)
Changed blocks: 1, Lines Added: 14, Lines Deleted: 0; 1353 bytes

@@ -521,11 +521,25 @@
                 <entry><literal>TIMESTAMP_FLAG</literal></entry>
                 <entry>Field is a <literal>TIMESTAMP</literal>
(deprecated)</entry>
               </row>
+              <row>
+               
<entry><literal>NO_DEFAULT_VALUE_FLAG</literal></entry>
+                <entry>Field has no default value; see additional notes following
table</entry>
+              </row>
             </tbody>
           </tgroup>
         </informaltable>
 
         <para>
+          The <literal>NO_DEFAULT_VALUE_FLAG</literal> indicates that a
+          column has no <literal>DEFAULT</literal> clause in its
+          definition. This does not apply to <literal>NULL</literal>
+          columns (because such columns have a default of
+          <literal>NULL</literal>), or to
+          <literal>AUTO_INCREMENT</literal> columns (which have an
+          implied default value).
+        </para>
+
+        <para>
           Use of the <literal>BLOB_FLAG</literal>,
           <literal>ENUM_FLAG</literal>,
<literal>SET_FLAG</literal>, and
           <literal>TIMESTAMP_FLAG</literal> flags is deprecated because


Thread
svn commit - mysqldoc@docsrva: r7387 - in trunk: . refman-5.0 refman-5.1 refman-5.2paul8 Aug