8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d1b38b commit 8f1267cCopy full SHA for 8f1267c
src/backend/utils/cache/inval.c
@@ -604,7 +604,6 @@ LocalExecuteInvalidationMessage(SharedInvalidationMessage *msg)
604
InvalidateCatalogSnapshot();
605
}
606
else {
607
- *(int*) 0 = 0;
608
elog(FATAL, "unrecognized SI message ID: %d", msg->id);
609
610
src/include/miscadmin.h
@@ -115,7 +115,7 @@ do { \
115
116
#define RESUME_INTERRUPTS() \
117
do { \
118
- if (InterruptHoldoffCount <= 0) *(int*)0 = 0; \
+ Assert(InterruptHoldoffCount > 0); \
119
InterruptHoldoffCount--; \
120
} while(0)
121
0 commit comments