diff options
author | randomdan <randomdan@localhost> | 2010-08-08 17:24:19 +0000 |
---|---|---|
committer | randomdan <randomdan@localhost> | 2010-08-08 17:24:19 +0000 |
commit | 8575db6d58ea47de420499c95a9115e00dfb68be (patch) | |
tree | dd1e78cae9d15ec1373c7bbc440d02ee489703b1 /project2/fileRows.cpp | |
parent | Adds an largely untested console appengine (diff) | |
download | project2-8575db6d58ea47de420499c95a9115e00dfb68be.tar.bz2 project2-8575db6d58ea47de420499c95a9115e00dfb68be.tar.xz project2-8575db6d58ea47de420499c95a9115e00dfb68be.zip |
Tidy up hierarchy
Add SqlMergeTask
Diffstat (limited to 'project2/fileRows.cpp')
-rw-r--r-- | project2/fileRows.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/project2/fileRows.cpp b/project2/fileRows.cpp index 855136f..955767c 100644 --- a/project2/fileRows.cpp +++ b/project2/fileRows.cpp @@ -3,8 +3,8 @@ _FileRows::_FileRows(const xmlpp::Element * p) : path(p->get_attribute_value("path")), - fieldSep(p->get_attribute_value("fieldSeps")[0]), - quoteChar(p->get_attribute_value("quoteChars")[0]), + fieldSep(p->get_attribute_value("fieldSep")[0]), + quoteChar(p->get_attribute_value("quoteChar")[0]), newline(p->get_attribute_value("newline")), encoding(p->get_attribute_value("encoding")) { @@ -83,7 +83,7 @@ _FileRows::execute() const } } if (!mkCols) { - while (curCol != columns.end()) { + while (values.size() < columns.size()) { values.push_back(ValPtr(new Glib::ustring())); curCol++; } |