From 53fc169bcd4e47833e5970e725dc4399633d6c16 Mon Sep 17 00:00:00 2001 From: randomdan Date: Thu, 17 Feb 2011 00:04:44 +0000 Subject: Fix creation of default insert action --- project2/sqlMergeTask.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()) { -- cgit v1.2.3