Allow extensions to override hooks
@@ -43,9 +43,10 @@ void
PipelineInstallHooks()
{
InitPipelineSysCache();
- SaveUtilityHook = ProcessUtility_hook;
+
+ if (ProcessUtility_hook == NULL)
ProcessUtility_hook = PipelineProcessUtility;
- SavePostParseAnalyzeHook = post_parse_analyze_hook;
+ if (post_parse_analyze_hook == NULL)
post_parse_analyze_hook = PostParseAnalyzeHook;
}
