R253 – CopyMessageHeaders found (WMB)
Calling CopyMessageHeaders() can be redundant. Enabling this rule is part of a specific pattern to improve performance and makes the most sense when applied to all ComputeNodes
|
CREATE FUNCTION Main() RETURNS BOOLEAN BEGIN CALL CopyMessageHeaders(); CALL CopyEntireMessage(); RETURN TRUE; END; |
Can be replaced with the following:
|
CREATE FUNCTION Main() RETURNS BOOLEAN BEGIN CALL CopyEntireMessage(); RETURN TRUE; END; |
