修复分布式values表达式中存在查询导致空指针引用core问题
This commit is contained in:
@ -1941,7 +1941,7 @@ static bool pgxc_shippability_walker(Node* node, Shippability_context* sc_contex
|
||||
if (contain_column_store)
|
||||
sc_context->sc_contain_column_store = contain_column_store;
|
||||
/* once need to use star, always use */
|
||||
if (use_star_targets)
|
||||
if (use_star_targets && sc_context->sc_query)
|
||||
sc_context->sc_query->use_star_targets = use_star_targets;
|
||||
} else
|
||||
sublink_en = NULL;
|
||||
|
||||
Reference in New Issue
Block a user