pub fn parse_item_name_with_limit(
sql: &str,
) -> Result<Result<UnresolvedItemName, ParserError>, String>Expand description
Parses a SQL item name, rejecting inputs larger than
MAX_STATEMENT_BATCH_SIZE before lexing.
The outer Result is for the size guard; the inner Result is for the
parser. Mirrors parse_statements_with_limit so untrusted-input paths
(e.g. the MCP HTTP handlers) can bound work before allocating.