Author: wyoung
Date: Wed Nov 28 03:27:18 2007
New Revision: 1895

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1895&view=rev
Log:
Row ctor used to take 'const MYSQL_ROW&' parameter, but because of how
MYSQL_ROW is defined in the C API, this is pointless.  It's just
MYSQL_ROW now.  No effect on anything else, just a removal of pretension.

Modified:
    trunk/lib/row.cpp
    trunk/lib/row.h

Modified: trunk/lib/row.cpp
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/row.cpp?rev=1895&r1=1894&r2=1895&view=diff
==============================================================================
--- trunk/lib/row.cpp (original)
+++ trunk/lib/row.cpp Wed Nov 28 03:27:18 2007
@@ -30,7 +30,7 @@
 
 namespace mysqlpp {
 
-Row::Row(const MYSQL_ROW& d, const ResUse* r, unsigned long* lengths,
+Row::Row(MYSQL_ROW d, const ResUse* r, unsigned long* lengths,
                bool throw_exceptions) :
 OptionalExceptions(throw_exceptions),
 initialized_(false),

Modified: trunk/lib/row.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/row.h?rev=1895&r1=1894&r2=1895&view=diff
==============================================================================
--- trunk/lib/row.h (original)
+++ trunk/lib/row.h Wed Nov 28 03:27:18 2007
@@ -114,8 +114,7 @@
        /// \param r result set that the row comes from
        /// \param lengths length of each item in d
        /// \param te if true, throw exceptions on errors
-       Row(const MYSQL_ROW& d, const ResUse* r,
-                       unsigned long* lengths, bool te = true);
+       Row(MYSQL_ROW d, const ResUse* r, unsigned long* lengths, bool te = 
true);
 
        /// \brief Destroy object
        ~Row() { }


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

Reply via email to