summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandomdan <randomdan@localhost>2011-02-17 00:04:44 +0000
committerrandomdan <randomdan@localhost>2011-02-17 00:04:44 +0000
commit53fc169bcd4e47833e5970e725dc4399633d6c16 (patch)
tree7e3b70bc234ff0d417d386dced937a03fcd7eec8
parentMake CurlHandle throw an exception on failure (diff)
downloadproject2-53fc169bcd4e47833e5970e725dc4399633d6c16.tar.bz2
project2-53fc169bcd4e47833e5970e725dc4399633d6c16.tar.xz
project2-53fc169bcd4e47833e5970e725dc4399633d6c16.zip
Fix creation of default insert action
-rw-r--r--project2/sqlMergeTask.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/project2/sqlMergeTask.cpp b/project2/sqlMergeTask.cpp
index 8847913..e3a28f1 100644
--- a/project2/sqlMergeTask.cpp
+++ b/project2/sqlMergeTask.cpp
@@ -285,7 +285,7 @@ attach(IteratePtr i, ModifyCommand * insert)
return;
}
if (i->subNOEs.empty()) {
- i->subNOEs.insert(NoOutputExecutes::value_type(0, new Populate(insert)));
+ i->subNOEs.insert(new Populate(insert));
}
else {
BOOST_FOREACH(const NoOutputExecutes::value_type & n, i->subNOEs.get<bySOOrder>()) {