1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-05 07:41:25 +03:00

Change one AssertMacro to Assert

What surrounds it is no longer a macro (e27f4ee0a7).
This commit is contained in:
Peter Eisentraut
2022-04-06 09:09:14 +02:00
parent c2bb02bc2e
commit b604a1c204

View File

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