aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/backend/executor/instrument.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/instrument.c b/src/backend/executor/instrument.c
index 0f2da221483..3ecb52c0b36 100644
--- a/src/backend/executor/instrument.c
+++ b/src/backend/executor/instrument.c
@@ -63,7 +63,7 @@ void
InstrStartNode(Instrumentation *instr)
{
if (instr->need_timer &&
- INSTR_TIME_SET_CURRENT_LAZY(instr->starttime))
+ !INSTR_TIME_SET_CURRENT_LAZY(instr->starttime))
elog(ERROR, "InstrStartNode called twice in a row");
/* save buffer usage totals at node entry, if needed */