forked from openGauss-Ecosystem/openGauss-server
second edition
Signed-off-by: liuquanyi@huawei <liuquanyi2@huawei.com>
This commit is contained in:
parent
e9f02d394b
commit
640a73772e
|
@ -749,10 +749,11 @@ void InsertOneValue(char* value, int i)
|
|||
boot_get_type_io_data(typoid, &typlen, &typbyval, &typalign, &typdelim, &typioparam, &typinput, &typoutput);
|
||||
|
||||
values[i] = OidInputFunctionCall(typinput, value, typioparam, -1);
|
||||
|
||||
/*
|
||||
* We use ereport not elog here so that parameters aren't evaluated unless
|
||||
* the message is going to be printed, which generally it isn't
|
||||
*/
|
||||
* We use ereport not elog here so that parameters aren't evaluated unless
|
||||
* the message is going to be printed, which generally it isn't
|
||||
*/
|
||||
ereport(DEBUG4, (errmsg_internal("inserted -> %s", OidOutputFunctionCall(typoutput, values[i]))));
|
||||
}
|
||||
|
||||
|
|
|
@ -1091,9 +1091,9 @@ void printtup(TupleTableSlot *slot, DestReceiver *self)
|
|||
pq_sendcountedtext(buf, (char *)attr, strlen((char *)attr), false);
|
||||
} else {
|
||||
/*
|
||||
* Here we catch undefined bytes in datums that are retruned to the
|
||||
* client without hitting disk; This test is nost useful for uncompressed,
|
||||
* non-external datums, but we're quite likely to see such here when
|
||||
* Here we catch undefined bytes in datums that are returned to the
|
||||
* client without hitting disk; This test is most useful for uncompressed,
|
||||
* non-external datums, but we're quite likely to see such here when
|
||||
* testing new C functions.
|
||||
*/
|
||||
if (thisState->typisvarlena)
|
||||
|
|
|
@ -67,8 +67,8 @@ typedef struct {
|
|||
PrinttupAttrInfo* myinfo; /* Cached info about each attr */
|
||||
StreamProducer* arg;
|
||||
} streamReceiver;
|
||||
#define VALGRIND_CHECK_MEM_IS_DEFINED(addr,size)\
|
||||
do { \
|
||||
#define VALGRIND_CHECK_MEM_IS_DEFINED(addr,size) \
|
||||
do { \
|
||||
} while(0)
|
||||
|
||||
#endif /* PRINTTUP_H */
|
||||
|
|
Loading…
Reference in New Issue