Change one AssertMacro to Assert
authorPeter Eisentraut <[email protected]>
Wed, 6 Apr 2022 07:09:14 +0000 (09:09 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 6 Apr 2022 07:10:24 +0000 (09:10 +0200)
What surrounds it is no longer a macro (e27f4ee0a701).

src/include/access/htup_details.h

index 3d452d50a198e1a21ff5691ce05203e33af9f5ad..51a60eda088578188b41f4506f6053c2fb77ef0b 100644 (file)
@@ -749,7 +749,7 @@ extern MinimalTuple minimal_expand_tuple(HeapTuple sourceTuple, TupleDesc tupleD
 static inline Datum
 fastgetattr(HeapTuple tup, int attnum, TupleDesc tupleDesc, bool *isnull)
 {
-       AssertMacro(attnum > 0);
+       Assert(attnum > 0);
 
        *isnull = false;
        if (HeapTupleNoNulls(tup))