greenplumn main_mock 源码

  • 2022-08-18
  • 浏览 (558)

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;

相关信息

greenplumn 源码目录

相关文章

greenplumn faultinjector_warnings 源码

greenplumn fmgrtab_mock 源码

greenplumn gpopt_mock 源码

greenplumn rmgr_mock 源码

0  赞