#21318·bytebase

fix: executed statement truncated to 80 chars in changelog detail page

Author: kate1128Created Sep 2, 2026Updated Sep 7, 2026

Problem

When using SDL (Schema Definition Language), the executed statement in the changelog detail page is truncated to 80 characters with "..." appended. SDL statements (e.g., full CREATE TABLE with all columns, indexes, constraints) are typically very long, making them unreadable.

Steps to Reproduce

  1. Use SDL mode to submit a schema change with a long DDL statement.
  2. Go to the database changelog detail page after execution.
  3. The executed statement shows only the first 80 characters with "..." appended.

Expected Behavior

The full statement should be displayed, with CSS handling overflow naturally (word wrapping and scrolling). The statement should NOT be programmatically truncated.