Skip to content

DROP ENUMERATION with ambiguous unqualified name silently drops one #391

@retran

Description

@retran

Impact

Drops the wrong enumeration without warning. User loses data with no recovery path.

Steps to Reproduce

  1. Create Mod1.Status and Mod2.Status enumerations
  2. Run DROP ENUMERATION Status;
  3. One enumeration silently dropped — no ambiguity error

Expected Behavior

Error requiring fully-qualified name when multiple matches exist.

Severity

Medium — silent destructive action on ambiguous input.


Discovered during AI-assisted manual testing session (2026-04-29, mxcli v0.7.0-257-ga07e7e0).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions