greenplumn gpopt_mock 源码
greenplumn gpopt_mock 代码
文件路径:/src/test/unit/mock/gpopt_mock.c
#include "postgres.h"
#include "lib/stringinfo.h"
#include "nodes/parsenodes.h"
#include "nodes/plannodes.h"
char *
SerializeDXLPlan(Query *pquery)
{
elog(ERROR, "mock implementation of SerializeDXLPlan called");
return NULL;
}
PlannedStmt *
GPOPTOptimizedPlan(Query *pquery, bool pfUnexpectedFailure)
{
elog(ERROR, "mock implementation of GPOPTOptimizedPlan called");
return NULL;
}
Datum
LibraryVersion(void)
{
elog(ERROR, "mock implementation of LibraryVersion called");
return NULL;
}
Datum
EnableXform(PG_FUNCTION_ARGS)
{
elog(ERROR, "mock implementation of EnableXform called");
return (Datum) 0;
}
Datum
DisableXform(PG_FUNCTION_ARGS)
{
elog(ERROR, "mock implementation of EnableXform called");
return (Datum) 0;
}
void
InitGPOPT ()
{
elog(ERROR, "mock implementation of InitGPOPT called");
}
void
TerminateGPOPT ()
{
elog(ERROR, "mock implementation of TerminateGPOPT called");
}
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦