Records resolved IDs from a SQL-implemented expression body (e.g. a SHOW command's inner query or an EXPLAIN ANALYZE query) into the accumulator checked by `restrict_to_user_objects`. These are kept separate from the statement's main `resolved_ids` because they are implementation details, not real dependencies.
(&self, ids: &ResolvedIds)
| 581 | /// statement's main `resolved_ids` because they are implementation details, |
| 582 | /// not real dependencies. |
| 583 | pub(crate) fn record_sql_impl_ids(&self, ids: &ResolvedIds) { |
| 584 | self.sql_impl_resolved_ids |
| 585 | .lock() |
| 586 | .expect("planning is single-threaded") |
| 587 | .extend_from(ids); |
| 588 | } |
| 589 | |
| 590 | pub fn allocate_full_name(&self, name: PartialItemName) -> Result<FullItemName, PlanError> { |
| 591 | let (database, schema): (RawDatabaseSpecifier, String) = match (name.database, name.schema) |
no test coverage detected