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
commitdd137a06cab821e80a10cd56b710779cf9e12264 (patch)
tree7e3b70bc234ff0d417d386dced937a03fcd7eec8
parentMake CurlHandle throw an exception on failure (diff)
downloadproject2-dd137a06cab821e80a10cd56b710779cf9e12264.tar.bz2
project2-dd137a06cab821e80a10cd56b710779cf9e12264.tar.xz
project2-dd137a06cab821e80a10cd56b710779cf9e12264.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>()) {