internal/protocol/session.go
func (s *Session) CloseResultsetID(id uint64) error {
	s.mu.Lock()
	defer s.mu.Unlock()

	s.resultsetID.id = &id
	if err := s.writeRequest(mtCloseResultset, false, s.resultsetID); err != nil {
		return err
	}

	if err := s.readReply(nil); err != nil {
		return err
	}

	return nil
}
func (s *Session) CloseResultsetID(id uint64) error {
	s.mu.Lock()
	defer s.mu.Unlock()

	s.resultsetID.id = &id
	if err := s.writeRequest(mtCloseResultset, false, s.resultsetID); err != nil {
		return err
	}

	if err := s.readReply(nil); err != nil {
		return err
	}

	return nil
}
func ( s * Session ) CloseResultsetID ( id uint64 ) error { s . mu . Lock ( ) defer s . mu . Unlock ( ) s . resultsetID . id = & id if err := s . writeRequest ( mtCloseResultset , false , s . resultsetID ) ; err != nil { return err } if err := s . readReply ( nil ) ; err != nil { return err } return nil }
// CloseResultsetID releases the hdb resultset handle.
CloseResultsetID releases the hdb resultset handle .