forked from huawei/openGauss-server
memory
This commit is contained in:
parent
7674a2a9eb
commit
43fd81e96a
|
|
@ -728,7 +728,7 @@ int main(int argc, char** argv)
|
|||
errorMessages = ConnectDatabase(fout, dbname, pghost, pgport, username, prompt_password, false);
|
||||
if (errorMessages != NULL) {
|
||||
(void)remove(filename);
|
||||
filename = NULL;
|
||||
GS_FREE(filename);
|
||||
exit_horribly(NULL, "connection to database \"%s\" failed: %s ",
|
||||
((dbname != NULL) ? dbname : ""), errorMessages);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -174,6 +174,7 @@ PlannedStmt* pgxc_planner(Query* query, int cursorOptions, ParamListInfo boundPa
|
|||
result->ng_use_planA = use_planA;
|
||||
ReSetNgQueryMem(result);
|
||||
}
|
||||
/* release resource applied in standard_planner */
|
||||
t_thrd.utils_cxt.CurrentResourceOwner = currentOwner;
|
||||
ResourceOwnerDelete(tempOwner);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1940,7 +1940,6 @@ bool DeleteFusion::execute(long max_rows, char* completionTag)
|
|||
********************************/
|
||||
HeapTuple oldtup = NULL;
|
||||
unsigned long nprocessed = 0;
|
||||
m_tupDesc = RelationGetDescr(rel);
|
||||
|
||||
while ((oldtup = m_scan->getTuple()) != NULL) {
|
||||
TM_Result result;
|
||||
|
|
|
|||
Loading…
Reference in New Issue