Author: wyoung
Date: Sat Nov  8 10:58:47 2008
New Revision: 2400

URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2400&view=rev
Log:
Passing on "throw exceptions" flag in Query::storein() to the temporary
Row objects it creates.  Not sure why this was still hard-coded this
way, but it's probably wrong.

Modified:
    trunk/lib/query.h

Modified: trunk/lib/query.h
URL: 
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.h?rev=2400&r1=2399&r2=2400&view=diff
==============================================================================
--- trunk/lib/query.h (original)
+++ trunk/lib/query.h Sat Nov  8 10:58:47 2008
@@ -750,7 +750,8 @@
                        MYSQL_ROW d = result.fetch_raw_row();
                        if (!d)
                                break;
-                       Row row(d, &result, result.fetch_lengths(), true);
+                       Row row(d, &result, result.fetch_lengths(),
+                                       throw_exceptions());
                        if (!row)
                                break;
                        con.push_back(typename Sequence::value_type(row));
@@ -807,7 +808,8 @@
                        MYSQL_ROW d = result.fetch_raw_row();
                        if (!d)
                                return;
-                       Row row(d, &result, result.fetch_lengths(), true);
+                       Row row(d, &result, result.fetch_lengths(),
+                                       throw_exceptions());
                        if (!row)
                                break;
                        con.insert(typename Set::value_type(row));


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

Reply via email to