Author: mysqlpp
Date: Sun Dec 2 16:04:55 2007
New Revision: 1948
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1948&view=rev
Log:
Removed ::api_version(). It does the same thing as
DBDriver::client_version().
Modified:
trunk/Wishlist
trunk/lib/mysql++.cpp
trunk/lib/mysql++.h.in
Modified: trunk/Wishlist
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/Wishlist?rev=1948&r1=1947&r2=1948&view=diff
==============================================================================
--- trunk/Wishlist (original)
+++ trunk/Wishlist Sun Dec 2 16:04:55 2007
@@ -77,19 +77,15 @@
o Add operator<< for Query, syntactic sugar for str(ostream&).
- o Do we need both DBDriver::client_version() and ::api_version()?
- If so, move api_version() into DBDriver. If not, nuke
- api_version().
-
- o Return false from Query::store_next() instead of throwing
- EndOfResultSets?
-
v3.0 "Maybe" Stuff
------------------
This is stuff that would be nice to have, but it wouldn't be a
good idea to bet on seeing it in v3.0. If you really want some
of this, best to just get coding and provide a patch!
+
+ o Return false from Query::store_next() instead of throwing
+ EndOfResultSets?
o Query::storein() variants taking SSQLS like store_if()? If we
do this, use it to tighten up the example at the end of userman
Modified: trunk/lib/mysql++.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/mysql%2B%2B.cpp?rev=1948&r1=1947&r2=1948&view=diff
==============================================================================
--- trunk/lib/mysql++.cpp (original)
+++ trunk/lib/mysql++.cpp Sun Dec 2 16:04:55 2007
@@ -28,19 +28,6 @@
namespace mysqlpp {
-std::ostream&
-api_version(std::ostream& os)
-{
- const int major = MYSQL_VERSION_ID / 10000;
- const int minor = (MYSQL_VERSION_ID - (major * 10000)) / 100;
- const int bug = MYSQL_VERSION_ID - (major * 10000) - (minor * 100);
-
- os << major << '.' << minor << '.' << bug;
-
- return os;
-}
-
-
unsigned int
get_library_version()
{
Modified: trunk/lib/mysql++.h.in
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/mysql%2B%2B.h.in?rev=1948&r1=1947&r2=1948&view=diff
==============================================================================
--- trunk/lib/mysql++.h.in (original)
+++ trunk/lib/mysql++.h.in Sun Dec 2 16:04:55 2007
@@ -59,12 +59,6 @@
#include "transaction.h"
namespace mysqlpp {
-
-/// \brief Insert C API version we're linked against into C++ stream
-///
-/// Version will be of the form X.Y.Z, where X is the major version
-/// number, Y the minor version, and Z the bug fix number.
-std::ostream& api_version(std::ostream& os);
/// \brief Get the current MySQL++ library version number
///
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits