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 ba3de10 commit e6d8009Copy full SHA for e6d8009
src/backend/bootstrap/bootstrap.c
@@ -817,7 +817,7 @@ InsertOneValue(char *value, int i)
817
Oid typoutput;
818
char *prt;
819
820
- AssertArg(i >= 0 || i < MAXATTR);
+ AssertArg(i >= 0 && i < MAXATTR);
821
822
elog(DEBUG4, "inserting column %d value \"%s\"", i, value);
823
@@ -842,7 +842,7 @@ void
842
InsertOneNull(int i)
843
{
844
elog(DEBUG4, "inserting column %d NULL", i);
845
- Assert(i >= 0 || i < MAXATTR);
+ Assert(i >= 0 && i < MAXATTR);
846
values[i] = PointerGetDatum(NULL);
847
Nulls[i] = true;
848
}
0 commit comments