Hi,
I found a variable (queryEnv) which should be added inExplainOneQuery_hook because if it is missing, hook functioncan't call ExplainOnePlan.Sorry if this wasn't correct.
Please find attached a patch.
Tatsuro YamadaNTT Open Source Software Center