Author: wyoung
Date: Fri Feb 15 11:19:42 2008
New Revision: 2207

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2207&view=rev
Log:
Moved Connection::ping() breakage from ABI to API section: it has in
fact changed behavior in v3.

Modified:
    trunk/doc/userman/breakages.dbx

Modified: trunk/doc/userman/breakages.dbx
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/breakages.dbx?rev=2207&r1=2206&r2=2207&view=diff
==============================================================================
--- trunk/doc/userman/breakages.dbx (original)
+++ trunk/doc/userman/breakages.dbx Fri Feb 15 11:19:42 2008
@@ -476,6 +476,15 @@
         <methodname>insert_id()</methodname> methods to class
         <classname>Query</classname>, as they relate to the most
         recently-executed query.</para>
+
+        <para>Changed the return type of
+        <methodname>Connection::ping()</methodname> from
+        <type>int</type> to <type>bool</type>. If you were calling
+        <methodname>ping()</methodname> in <type>bool</type> context
+        or using its return value in <type>bool</type> context,
+        you will need to reverse the sense of the test because the
+        previous return code used zero to mean success. Now it returns
+        <type>true</type> to indicate success.</para>
 
         <para>Renamed several methods:</para>
 
@@ -1080,9 +1089,6 @@
       <classname>Lockable</classname>. Since it was basically useless in
       prior versions, it can&rsquo;t be construed as an API
       change.</para>
-
-      <para>Changed <methodname>Connection::ping()</methodname>
-      return value from <type>int</type> to <type>bool</type>.</para>
     </sect3>
   </sect2>
 </sect1>


_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits

Reply via email to