pgsql: pgbench: fix misprocessing of some nested \if constructs.
В списке pgsql-committers по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | pgsql: pgbench: fix misprocessing of some nested \if constructs. |
| Дата | |
| Msg-id | E1tMu4W-002sdn-R3@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
pgbench: fix misprocessing of some nested \if constructs. An \if command appearing within a false (not-to-be-executed) \if branch was incorrectly treated the same as \elif. This could allow statements within the inner \if to be executed when they should not be. Also the missing inner \if stack entry would result in an assertion failure (in assert-enabled builds) when the final \endif is reached. Report and patch by Michail Nikolaev. Back-patch to all supported branches. Discussion: https://postgr.es/m/CANtu0oiA1ke=SP6tauhNqkUdv5QFsJtS1p=aOOf_iU+EhyKkjQ@mail.gmail.com Branch ------ REL_16_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/076b09123078033ebef609c91a9a276ee6e1bcb3 Modified Files -------------- src/bin/pgbench/pgbench.c | 16 +++++---- src/bin/pgbench/t/001_pgbench_with_server.pl | 50 ++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+), 7 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера