Author: wyoung
Date: Mon Jun 26 20:27:02 2006
New Revision: 1297
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1297&view=rev
Log:
Result::copy() was not copying the exception flag in all cases. Fix by
Steven Van Ingelgem <[EMAIL PROTECTED]>.
Modified:
trunk/lib/result.cpp
Modified: trunk/lib/result.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/result.cpp?rev=1297&r1=1296&r2=1297&view=diff
==============================================================================
--- trunk/lib/result.cpp (original)
+++ trunk/lib/result.cpp Mon Jun 26 20:27:02 2006
@@ -75,6 +75,8 @@
purge();
}
+ set_exceptions(other.throw_exceptions());
+
if (!other.result_) {
result_ = 0;
types_ = 0;
@@ -83,7 +85,6 @@
return;
}
- set_exceptions(other.throw_exceptions());
result_ = other.result_;
fields_ = Fields(this);
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits