Avoid comparing newline option twice
This refactors the code to remove the separate step for setting the
eol_type in CopyEolStrToType(), which induced a second pointless
pg_strcasecmp() on the passed NEWLINE string. This function did more
originally but upstream merges have made it redundant, and the
function is refers to has never been in the Greenlpum code at all.
Reviewed-by: NAsim R P <apraveen@pivotal.io>
Showing
想要评论请 注册 或 登录