mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-01 10:51:16 +02:00
Fix possibly-uninitialized variable.
Thinko in 2f9661311
. Per buildfarm, as well as warning seen locally.
This commit is contained in:
parent
2f9661311b
commit
91f3bd732c
@ -1013,8 +1013,7 @@ pgss_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
|
|||||||
INSTR_TIME_SET_CURRENT(duration);
|
INSTR_TIME_SET_CURRENT(duration);
|
||||||
INSTR_TIME_SUBTRACT(duration, start);
|
INSTR_TIME_SUBTRACT(duration, start);
|
||||||
|
|
||||||
if (qc)
|
rows = (qc && qc->commandTag == CMDTAG_COPY) ? qc->nprocessed : 0;
|
||||||
rows = qc->commandTag == CMDTAG_COPY ? qc->nprocessed : 0;
|
|
||||||
|
|
||||||
/* calc differences of buffer counters. */
|
/* calc differences of buffer counters. */
|
||||||
bufusage.shared_blks_hit =
|
bufusage.shared_blks_hit =
|
||||||
|
Loading…
Reference in New Issue
Block a user