Author: wyoung
Date: Mon Nov 25 17:05:38 2013
New Revision: 2751
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2751&view=rev
Log:
Connection copy ctor wasn't copying the "throw exceptions" flag. The
copy always had exceptions enabled.
Modified:
trunk/lib/connection.cpp
Modified: trunk/lib/connection.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/connection.cpp?rev=2751&r1=2750&r2=2751&view=diff
==============================================================================
--- trunk/lib/connection.cpp (original)
+++ trunk/lib/connection.cpp Mon Nov 25 17:05:38 2013
@@ -54,7 +54,7 @@
Connection::Connection(const Connection& other) :
-OptionalExceptions(),
+OptionalExceptions(other.throw_exceptions()),
driver_(new DBDriver(*other.driver_))
{
copy(other);
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits