message: avoid nullptr access
diff: @@ -11,13 +11,11 @@ BindResult ExpressionBinder::BindExpression(ColumnRefExpression &colref, idx_t d
  D_ASSERT(!colref.column_name.empty());
  // individual column reference
  // resolve to either a base table or a subquery expression
  - bool macro_param = false;
  if (colref.table_name.empty()) {
  // no table name: find a binding that contains this
  if (binder.macro_binding != nullptr && binder.macro_binding->HasMatchingBinding(colref.column_name)) {
  // priority to macro parameter bindings TODO: throw a warning when this name conflicts
  colref.table_name = binder.macro_binding->alias;
  - macro_param = true;
  } else {
  colref.table_name = binder.bind_context.GetMatchingBinding(colref.column_name);
  }
  @@ -30,8 +28,9 @@ BindResult ExpressionBinder::BindExpression(ColumnRefExpression &colref, idx_t d
  }
  }
  // if it was a macro parameter, let macro_binding bind it to the argument
  - BindResult result =
  - macro_param ? binder.macro_binding->Bind(colref, depth) : binder.bind_context.BindColumn(colref, depth);
  + BindResult result = binder.macro_binding != nullptr && colref.table_name == binder.macro_binding->alias
  + ? binder.macro_binding->Bind(colref, depth)
  + : binder.bind_context.BindColumn(colref, depth);
  if (!result.HasError()) {
  bound_columns = true;
  } else {
  