code: def update_task_db(self, row, force=False):
          '''更新数据库中的任务信息'''
          sql = '''UPDATE upload SET 
          curr_size=?, state=?, state_name=?, human_size=?, percent=?
          WHERE fid=?
          '''
          self.cursor.execute(sql, [
              row[CURRSIZE_COL], row[STATE_COL], row[STATENAME_COL],
              row[HUMANSIZE_COL], row[PERCENT_COL], row[FID_COL]
          ])
          self.check_commit(force=forcef update_task_db(self, row, force=False):
          '''更新数据库中的任务信息'''
          sql = '''UPDATE upload SET 
          curr_size=?, state=?, state_name=?, human_size=?, percent=?
          WHERE fid=?
          '''
          self.cursor.execute(sql, [
              row[CURRSIZE_COL], row[STATE_COL], row[STATENAME_COL],
              row[HUMANSIZE_COL], row[PERCENT_COL], row[FID_COL]
          ])
          self.check_commit(force=force)
docs: 更新数据库中的任务信息