code: func updateVersionAndTableInfo(t *meta.Meta, job *model.Job, tblInfo *model.TableInfo, shouldUpdateVer bool) (
  	ver int64, err error) {
  	if shouldUpdateVer {
  		ver, err = updateSchemaVersion(t, job)
  		if err != nil {
  			return 0, errors.Trace(err)
  		}
  	}
  
  	if tblInfo.State == model.StatePublic {
  		tblInfo.UpdateTS = t.StartTS
  	}
  	return ver, t.UpdateTable(job.SchemaID, tblInfo)
  }
docs: // updateVersionAndTableInfo updates the schema version and the table information.