lingbin opened a new pull request #2969: Improve implementation of Status URL: https://github.com/apache/incubator-doris/pull/2969 This patch mainly do: 1. Fixed the implementation of its move-assigment, the `_state` of the current `Status` object(lhs) should be released; 2. Rename `precise_code` to `posix_code`, a more accurate name; 3. Modify the default value of `posix_code` from `1` to `-1`, `-1` is a more general errno, and `1` is only used to refer to `EPERM`(Operation not permitted). 4. Removed unused macros: `RETURN_IF_STATUS_ERROR` 5. Adjusted the order of function declarations, using the same order as the type of `TStatusCode`, which is more clear.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org