예제 #1
0
// commitCmd commits the transaction.
func commitCmd(c *cmd, txn *client.Txn, t *testing.T) *roachpb.Error {
	return txn.Commit()
}
// commitCmd commits the transaction.
func commitCmd(c *cmd, txn *client.Txn, t *testing.T) error {
	return txn.Commit(&client.Batch{})
}