mirror of
https://github.com/postgres/postgres.git
synced 2025-07-27 12:41:57 +03:00
Fix possibly-uninitialized variable.
Thinko in 2f9661311
. Per buildfarm, as well as warning seen locally.
This commit is contained in:
@ -1013,8 +1013,7 @@ pgss_ProcessUtility(PlannedStmt *pstmt, const char *queryString,
|
||||
INSTR_TIME_SET_CURRENT(duration);
|
||||
INSTR_TIME_SUBTRACT(duration, start);
|
||||
|
||||
if (qc)
|
||||
rows = qc->commandTag == CMDTAG_COPY ? qc->nprocessed : 0;
|
||||
rows = (qc && qc->commandTag == CMDTAG_COPY) ? qc->nprocessed : 0;
|
||||
|
||||
/* calc differences of buffer counters. */
|
||||
bufusage.shared_blks_hit =
|
||||
|
Reference in New Issue
Block a user