func (tr *testingReceiver) PushRow(row sqlbase.EncDatumRow) bool {
	rowCopy := append(sqlbase.EncDatumRow(nil), row...)
	tr.rows = append(tr.rows, rowCopy)
	return true
}
Exemple #2
0
// PushRow is part of the RowReceiver interface.
func (rb *RowBuffer) PushRow(row sqlbase.EncDatumRow) bool {
	rowCopy := append(sqlbase.EncDatumRow(nil), row...)
	rb.rows = append(rb.rows, rowCopy)
	return true
}