nodeAlterFunction handles *tree.AlterFunction nodes.
(ctx *Context, node *tree.AlterFunction)
| 22 | |
| 23 | // nodeAlterFunction handles *tree.AlterFunction nodes. |
| 24 | func nodeAlterFunction(ctx *Context, node *tree.AlterFunction) (vitess.Statement, error) { |
| 25 | _, err := validateRoutineOptions(ctx, node.Options) |
| 26 | if err != nil { |
| 27 | return nil, err |
| 28 | } |
| 29 | |
| 30 | // We intentionally don't support OWNER TO since we don't support owning objects |
| 31 | if node.Owner != "" && len(node.Options) == 0 { |
| 32 | return NewNoOp("OWNER TO is unsupported and ignored"), nil |
| 33 | } |
| 34 | |
| 35 | return NotYetSupportedError("ALTER FUNCTION statement is not yet supported") |
| 36 | } |
no test coverage detected