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:
@@ -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))
|
||||||
|
Reference in New Issue
Block a user