Update for an Issue #24

This commit is contained in:
Miroslav Stampar
2013-01-08 10:55:25 +01:00
parent 614f4657f1
commit 55a552ddc4
3 changed files with 23 additions and 22 deletions

View File

@@ -97,7 +97,7 @@ class Filesystem:
if counter == 0:
sqlQueries.append("INSERT INTO %s(%s) VALUES (%s)" % (self.fileTblName, self.tblField, fcEncodedLine))
else:
updatedField = agent.simpleConcatQuery(self.tblField, fcEncodedLine)
updatedField = agent.simpleConcatenate(self.tblField, fcEncodedLine)
sqlQueries.append("UPDATE %s SET %s=%s" % (self.fileTblName, self.tblField, updatedField))
counter += 1