Author: wyoung
Date: Thu Oct 25 14:50:43 2007
New Revision: 1785
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=1785&view=rev
Log:
Throwing ObjectNotInitialized exception if Row ctor gets a bad parameter
instead of BadQuery, which is wholly inappropriate. Patch by Jim
Wallace.
Modified:
trunk/lib/row.cpp
Modified: trunk/lib/row.cpp
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/row.cpp?rev=1785&r1=1784&r2=1785&view=diff
==============================================================================
--- trunk/lib/row.cpp (original)
+++ trunk/lib/row.cpp Thu Oct 25 14:50:43 2007
@@ -54,7 +54,7 @@
initialized_ = true;
}
else if (throw_exceptions) {
- throw BadQuery("ROW or RES is NULL");
+ throw ObjectNotInitialized("ROW or RES is NULL");
}
}
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits