예제 #1
0
func (tr *testingReceiver) PushRow(row sqlbase.EncDatumRow) bool {
	rowCopy := append(sqlbase.EncDatumRow(nil), row...)
	tr.rows = append(tr.rows, rowCopy)
	return true
}
예제 #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
}