void
MemoryContextInit(void)
{
- void *thrinfo;
-
AssertState(TopMemoryContext == NULL);
/*
* Not having any other place to point CurrentMemoryContext, make it point
* to TopMemoryContext. Caller should change this soon!
*/
- thrinfo = GetMyThreadInfo;
CurrentMemoryContext = TopMemoryContext;
/*
int txn_count)
{
GTM_TransactionHandle txn[GTM_MAX_GLOBAL_TRANSACTIONS];;
- GTM_TransactionInfo *gtm_txninfo;
MemoryContext oldContext;
int kk;
int count;
- gtm_txninfo = NULL;
-
oldContext = MemoryContextSwitchTo(TopMostMemoryContext);
count = GTM_BeginTransactionMulti(isolevel, readonly,
if (GetMyThreadInfo->thr_conn->standby)
{
- int _rc;
GTM_Conn *oldconn = GetMyThreadInfo->thr_conn->standby;
int count = 0;
GTM_Timestamp timestamp;
* instead of writing a routine specific to MSG_TXN_GET_GID_DATA
* message
*/
- _rc = bkup_begin_transaction_gxid(GetMyThreadInfo->thr_conn->standby,
+ bkup_begin_transaction_gxid(GetMyThreadInfo->thr_conn->standby,
gxid,
txn_isolation_level,
false,