git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: d31d309) | patch
Avoid unnecessary MemSet call
2022年6月30日 18:10:13 +0000 (19:10 +0100)
2022年6月30日 18:10:13 +0000 (19:10 +0100)
commit 8cd61d288adfabe1b7f83359eb0abd27382eec08
Avoid unnecessary MemSet call

The variable in question was changed from a struct to a pointer some
time ago (77947c51c08). Using MemSet to zero it still works but is
obviously unidiomatic and confusing, so change it to a straight
assignment.

Author: Ranier Vilela <ranier.vf@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/CAEudQApCeq4JjW1BdnwU=m=-DvG5WyUik0Yfn3p6UNphiHjj+w@mail.gmail.com
src/backend/utils/cache/relcache.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /