greenplumn RelationWrapper 源码
greenplumn RelationWrapper 代码
文件路径:/src/backend/gpopt/utils/RelationWrapper.cpp
//---------------------------------------------------------------------------
// Greenplum Database
// Copyright (C) 2020 VMware, Inc.
//---------------------------------------------------------------------------
#include "gpopt/utils/RelationWrapper.h"
#include "gpopt/gpdbwrappers.h" // for CloseRelation
namespace gpdb
{
RelationWrapper::~RelationWrapper() noexcept(false)
{
if (m_relation)
{
CloseRelation(m_relation);
}
}
void
RelationWrapper::Close()
{
if (m_relation)
{
CloseRelation(m_relation);
m_relation = nullptr;
}
}
} // namespace gpdb
相关信息
相关文章
greenplumn CConstExprEvaluatorProxy 源码
greenplumn CMemoryPoolPalloc 源码
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦