Redundant strlen(query) in get_rel_infos
От
Peter Smith
Тема
Redundant strlen(query) in get_rel_infos
Дата
Msg-id
CAHut+PshfqoGfFz6joYVCdqt9uM-UO2RK+edD6mfFPx3OmUt1g@mail.gmail.com
Список
Дерево обсуждения
Redundant strlen(query) in get_rel_infos Peter Smith <smithpb2250@gmail.com>
Re: Redundant strlen(query) in get_rel_infos Michael Paquier <michael@paquier.xyz>
Re: Redundant strlen(query) in get_rel_infos Daniel Gustafsson <daniel@yesql.se>
Re: Redundant strlen(query) in get_rel_infos Michael Paquier <michael@paquier.xyz>
Re: Redundant strlen(query) in get_rel_infos Daniel Gustafsson <daniel@yesql.se>
Hi. While reviewing another patch to the file info.c, I noticed there seem to be some unnecessary calls to strlen(query) in get_rel_infos() function. i.e. The query is explicitly initialized to an empty string immediately prior, so why the strlen? PSA patch for this. ------ Kind Regards, Peter Smith. Fujitsu Australia
В списке pgsql-hackers по дате отправления
От: Wei Wang (Fujitsu)
Дата: