greenplumn main_mock 源码
greenplumn main_mock 代码
文件路径:/src/test/unit/mock/main_mock.c
/*
* This is a mock version of src/backend/main/main.c. In a unit test, the test
* program contains the real main() function, so we don't want to link the
* postgres backend's main() function into the test program. (Alternatively,
* we could use ld's --wrap option and call the test program's main()
* __wrap_main(), but this seems nicer.)
*/
/* The only thing we need from main.c is this global variable */
const char *progname;
相关信息
相关文章
0
赞
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦