Author: wyoung
Date: Fri Feb 27 18:27:07 2009
New Revision: 2460
URL: http://svn.gna.org/viewcvs/mysqlpp?rev=2460&view=rev
Log:
Whitespace and comment changes
Modified:
trunk/lib/query.h
Modified: trunk/lib/query.h
URL:
http://svn.gna.org/viewcvs/mysqlpp/trunk/lib/query.h?rev=2460&r1=2459&r2=2460&view=diff
==============================================================================
--- trunk/lib/query.h (original)
+++ trunk/lib/query.h Fri Feb 27 18:27:07 2009
@@ -1019,7 +1019,6 @@
/// details
///
/// \sa insert()
-
template <class Iter, class InsertPolicy>
Query& insertfrom(Iter first, Iter last, InsertPolicy& policy)
{
@@ -1050,7 +1049,7 @@
empty = false;
}
else {
- // execute what we've built up already, if
there is anything
+ // Execute what we've built up already, if
there is anything
if (!empty) {
if (!exec()) {
success = false;
@@ -1060,7 +1059,7 @@
empty = true;
}
- // if we _still_ can't add, the policy is too
strict
+ // If we _still_ can't add, the policy is too
strict
if (policy.can_add(tellp(), *it)) {
MYSQLPP_QUERY_THISPTR <<
std::setprecision(16) <<
"INSERT INTO " << it->table()
<< " (" <<
@@ -1070,7 +1069,7 @@
empty = false;
}
else {
- // at this point all we can do is give
up
+ // At this point all we can do is give
up
if (throw_exceptions()) {
throw BadInsertPolicy("Insert
policy is too strict");
}
_______________________________________________
Mysqlpp-commits mailing list
[email protected]
https://mail.gna.org/listinfo/mysqlpp-commits