Author: wyoung
Date: Fri Jan 4 18:28:42 2008
New Revision: 2100
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2100&view=rev
Log:
3.0.0 beta 2 (double yay!)
Modified:
trunk/ChangeLog
trunk/doc/userman/userman.dbx
Modified: trunk/ChangeLog
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/ChangeLog?rev=2100&r1=2099&r2=2100&view=diff
==============================================================================
--- trunk/ChangeLog (original)
+++ trunk/ChangeLog Fri Jan 4 18:28:42 2008
@@ -1,8 +1,10 @@
-3.0.0 beta 1, 2007.12.22 (r2018)
+3.0.0 beta 2, 2008.01.04 (r2100)
o Added ConnectionPool class, primarily to let multithreaded
programs share a set of Connection objects safely in situations
where it isn't acceptable to have a Connection per thread.
+
+ o Created examples/cpool.cpp to demonstrate this new class.
o Added RefCountedPointer template, which provides automatic
memory management and data sharing. It's not intended for use
@@ -14,6 +16,9 @@
and advice as well.
o Several improvements to Specialized SQL Structures (SSQLS):
+
+ - Renamed custom* to ssqls*. There's still a custom.h which
+ #includes ssqls.h for you, but it's only temporary.
- They're finally compatible with Null<>-wrapped types. This
feature is based on the "Waba" patch posted to the mailing
@@ -28,11 +33,19 @@
default values. A side benefit is that the order of the fields
in the SSQLS no longer has to match the order of fields in
the result set. Removed examples/custom6.cpp and reworked
- custom1.cpp to demonstrate what custom6 used to, implicitly.
+ custom1.cpp to work more like simple1, which has the nice
+ side benefit of implicitly demonstrating what custom6 used to.
- It's now possible to use mysqlpp::String, Date, DateTime, and
Time types in the key field positions in an SSQLS as we can
now compare them.
+
+ - If you use a floating-point data type in one of the key field
+ positions, it no longer uses exact comparison logic. Instead,
+ it now does comparisons using a threshold value defaulting
+ to 0.00001. Two floating point values differing by less than
+ this threshold value are considered equal. See the top of
+ lib/ssqls.pl for details.
- Removed "basic" variants of SSQLS creation macros. They've
been unofficially deprecated by dint of being all but
Modified: trunk/doc/userman/userman.dbx
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/doc/userman/userman.dbx?rev=2100&r1=2099&r2=2100&view=diff
==============================================================================
--- trunk/doc/userman/userman.dbx (original)
+++ trunk/doc/userman/userman.dbx Fri Jan 4 18:28:42 2008
@@ -3158,7 +3158,7 @@
<sect3 id="v3.0.0">
- <title>v3.0.0 (as of beta 1)</title>
+ <title>v3.0.0 (as of beta 2)</title>
<sect4>
<title>Class name changes</title>
@@ -3617,6 +3617,26 @@
<sect4>
+ <title>Specialized SQL Structure (SSQLS) changes</title>
+
+ <para>Renamed <filename>custom*</filename> to
+ <filename>ssqls*</filename>. There is a backwards-compatibility
+ header <filename>custom.h</filename> which includes
+ <filename>ssqls.h</filename> for you, but it will go away in
+ a future version of MySQL++.</para>
+
+ <para>The new <classname>Null<T></classname> support in
+ SSQLSes causes an internal compiler error in Visual C++ 2003.
+ (VC++ 2005 and newer have no trobule with it.) A poll on
+ the mailing list says there aren't many people still stuck
+ on this version, so we just ifdef'd out the SSQLS mechanism
+ and all the examples that use it when built with VC++ 2003.
+ If this affects you, see <xref linkend="ssqls-vc2003"/>
+ for suggestions on ways to cope.</para>
+ </sect4>
+
+
+ <sect4>
<title>Miscellaneous changes</title>
<para>MySQL++ does quoting and escaping much more selectively
@@ -3641,6 +3661,14 @@
<type>false</type> when the connection attempt fails. Call
<methodname>Connection::is_connected()</methodname> if you
just want to test whether the connection is up.</para>
+
+ <para>The debug mode build of the library now has a "_d"
+ suffix for Visual C++, MinGW, and Xcode. This lets you have
+ both versions installed without conflict. The release build
+ uses the current naming scheme. If you have an existing
+ program building against MySQL++ on these platforms, you'll
+ need to change your build options to use the new name in
+ debug mode.</para>
</sect4>
</sect3>
</sect2>
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits