pub fn bind_query_block_for_execution<'a>(
routines: &dyn RoutineResolution,
block: &'a QueryBlockPlan,
params: &[SQLParam],
context: &BindingContext<'_>,
outer: Option<&RowSchema>,
defer_distinct_limit: bool,
) -> Result<(Cow<'a, QueryBlockPlan>, RowSchema), SQLError>Expand description
Keep the input immutable while selecting table-function identities and, when requested, moving the DISTINCT slice to its existing later boundary.