提交 242ec7bd 编写于 作者: L laixiong 提交者: Heikki Linnakangas

Close the db connection at the end.

上级 011f733e
......@@ -2715,6 +2715,9 @@ class gpload:
for t in self.threads:
t.join()
if self.db != None:
self.db.close()
self.log(self.INFO, 'rows Inserted = ' + str(self.rowsInserted))
self.log(self.INFO, 'rows Updated = ' + str(self.rowsUpdated))
self.log(self.INFO, 'data formatting errors = ' + str(NUM_WARN_ROWS))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册