Skip to content

[Subtask]: C03 — Complete database, table and column charset/collation inheritance #29482

Closed as not planned

Description

@ck89119

Parent Issue

#29479 — C03

Detail of Subtask

Persist and apply defaults to subsequently created objects rather than returning a compatibility no-op.

Tracking disposition: this C-series alias is to be closed as duplicate/reused tracking in favor of #28998. The canonical issue remains responsible for the complete scope and acceptance below; closure is not a product-completion claim.

Scope

  • Cover CREATE/ALTER DATABASE, table/column declarations, CREATE LIKE, CTAS, ADD/MODIFY COLUMN and prepared DDL.
  • Keep SHOW CREATE, information_schema, CHARSET/COLLATION and runtime behavior consistent.
  • Separate changing table defaults from CONVERT TO CHARACTER SET and actual data/index conversion.

Acceptance criteria

  • ALTER DATABASE affects later unqualified objects but does not rewrite existing columns; explicit declarations override defaults.
  • New columns demonstrate inherited semantics through comparisons and indexes, not metadata alone.
  • Invalid combinations and new latin1 declarations fail without partial objects; conversion failure preserves original data and indexes.
  • Validate privileges, missing databases, tenant isolation, transaction/background contexts and restart/restore.

Describe implementation you've considered

Reuse #28998 and PR #29374, adapting their metadata to C01 and conversion policy to C02. Preserve the real inheritance contract; do not revive the no-op in #29023.

Additional information

Activity

  1. ck89119 commented on Sep 29, 2026

    @ck89119
    ContributorAuthor

    Closing this C-series alias as duplicate/reused tracking in favor of #28998, under #29479.

    The complete scope, prerequisites and unchecked acceptance criteria have been handed off in this canonical tracking comment. This closure does not mean the functionality has shipped or passed end-to-end validation. The parent retains #28998 as the active delivery owner, and dependencies use that canonical issue rather than this closed alias.

    State reason: not planned here (duplicate tracking). The canonical issue and open implementation PRs retain their existing states.

  2. self-assigned this
    on Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions