diff --git a/include/mg_procedure.h b/include/mg_procedure.h index 45eef1139..504fd9e73 100644 --- a/include/mg_procedure.h +++ b/include/mg_procedure.h @@ -389,6 +389,8 @@ struct mgp_result_record; int mgp_result_set_error_msg(struct mgp_result *res, const char *error_msg); /// Create a new record for results. +/// The previously returned pointer to mgp_result_record is no longer valid, and +/// you must not use it. /// Return NULL if unable to allocate a mgp_result_record. struct mgp_result_record *mgp_result_new_record(struct mgp_result *res);