pub fn validate_default_expr(expr: &str, column: &str) -> Result<()>Expand description
Check that expr, the DEFAULT declared on column, can be evaluated.
DDL calls this to refuse an unevaluable DEFAULT at declaration time. It
classifies and parses the expression, and evaluates nothing. Parsing runs
the resolver’s FunctionRegistry gate, so an unregistered function name
raises SqlError::UndefinedFunction.