code: def update_task_db(self, row):
          '''更新数据库中的任务信息'''
          sql = '''UPDATE tasks SET 
          currsize=?, state=?, statename=?, humansize=?, percent=?
          WHERE fsid=?
          '''
          self.cursor.execute(sql, [
              row[CURRSIZE_COL], row[STATE_COL], row[STATENAME_COL],
              row[HUMANSIZE_COL], row[PERCENT_COL], row[FSID_COL]
          ])
          self.check_commit(f update_task_db(self, row):
          '''更新数据库中的任务信息'''
          sql = '''UPDATE tasks SET 
          currsize=?, state=?, statename=?, humansize=?, percent=?
          WHERE fsid=?
          '''
          self.cursor.execute(sql, [
              row[CURRSIZE_COL], row[STATE_COL], row[STATENAME_COL],
              row[HUMANSIZE_COL], row[PERCENT_COL], row[FSID_COL]
          ])
          self.check_commit()
docs: 更新数据库中的任务信息