// SetTableDataCheckResult sets the data check result for table.
SetTableDataCheckResult sets the data check result for table.
// SetTableDataCheckResult sets the data check result for table .
func (r *Report) SetTableDataCheckResult(table string, equal bool) {
	r.Lock()
	defer r.Unlock()
	if tableResult, ok := r.TableResults[table]; ok {
		tableResult.DataEqual = equal
	} else {
		r.TableResults[table] = &TableResult{
			DataEqual: equal,
		}
	}
	if !equal {
		r.Result = Fail
	}
}
func ( r * Report ) SetTableDataCheckResult ( table string , equal bool ) { r . Lock ( ) defer r . Unlock ( ) if tableResult , ok := r . TableResults [ table ] ; ok { tableResult . DataEqual = equal } else { r . TableResults [ table ] = & TableResult { DataEqual : equal , } } if ! equal { r . Result = Fail } }
SetTableDataCheckResult sets the data check result for table.
SetTableDataCheckResult sets the data check result for table .