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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 6c772c7) | patch
vacuumdb: Don't assign negative values to a boolean.
2015年8月12日 14:49:36 +0000 (16:49 +0200)
2015年8月15日 14:51:34 +0000 (16:51 +0200)
commit 1d4bd77568493309914217251dce5bd51f4a72b7
vacuumdb: Don't assign negative values to a boolean.

Since a17923204736 (vacuumdb: enable parallel mode) -1 has been assigned
to a boolean. That can, justifiedly, trigger compiler warnings. There's
also no need for ternary logic, result was only ever set to 0 or -1. So
don't.

Discussion: 20150812084351.GD8470@awork2.anarazel.de
Backpatch: 9.5
src/bin/scripts/vacuumdb.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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