aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execParallel.c
diff options
context:
space:
mode:
authorDaniel Gustafsson <dgustafsson@postgresql.org>2025-02-06 15:13:40 +0100
committerDaniel Gustafsson <dgustafsson@postgresql.org>2025-02-06 15:13:40 +0100
commitaffd38e55a3cabbc4c64198dde71c22a94877690 (patch)
treec640b8dcc199ac433be061dfdb97a8ec65d9fab0 /src/backend/executor/execParallel.c
parent9e020050b8fa8e184bc1d58e6a4bc1edfa76cb8c (diff)
downloadpostgresql-affd38e55a3cabbc4c64198dde71c22a94877690.tar.gz
postgresql-affd38e55a3cabbc4c64198dde71c22a94877690.zip
pgcrypto: Remove static storage class from variables
Variables p, sp and ep were labeled with static storage class but are all assigned before use so they cannot carry any data across calls. Fix by removing the static label. Also while in there, make the magic variable const as it will never change. Author: Japin Li <japinli@hotmail.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/ME0P300MB0445096B67ACE8CE25772F00B6F72@ME0P300MB0445.AUSP300.PROD.OUTLOOK.COM
Diffstat (limited to 'src/backend/executor/execParallel.c')
0 files changed, 0 insertions, 0 deletions