Skip to content

SHOW LANGUAGES: parsed in grammar but no executor handler #480

@retran

Description

@retran

Description

SHOW LANGUAGES is parsed by the grammar and visitor (visitor_query.go:552-554) and produces an ast.ShowStmt{ObjectType: ast.ShowLanguages} node, but there is no matching case ast.ShowLanguages: in executor_query.go.

Running the command produces no output and no error — it silently does nothing.

Steps to Reproduce

mxcli repl -p app.mpr
REFRESH CATALOG FULL;
SHOW LANGUAGES;

Expected

Table listing configured languages with translation string counts.

Actual

No output, no error. The statement is parsed but execution falls through the switch in executor_query.go.

Affected Code

  • mdl/visitor/visitor_query.go:552-554 — parses SHOW LANGUAGES
  • mdl/ast/ast_query.go:89 — defines ShowLanguages constant
  • mdl/executor/executor_query.go — missing case handler

Impact

Test cases 10.1, 10.2, and 12.5 in tooling-test-cases.md are blocked by this gap.

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