diff --git a/internal/querynode/cgo_helper.go b/internal/querynode/cgo_helper.go index b0dbc85d56..06384ca8b9 100644 --- a/internal/querynode/cgo_helper.go +++ b/internal/querynode/cgo_helper.go @@ -81,6 +81,7 @@ func HandleCStatus(status *C.CStatus, extraInfo string) error { return errors.New(finalMsg) } +// HandleCProtoResult deal with the result proto returned from CGO func HandleCProtoResult(cRes *C.CProtoResult, msg proto.Message) error { // Standalone CProto is protobuf created by C side, // Passed from c side