Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-22558

wrong error for invalid utf8 table comment

    XMLWordPrintable

Details

    Description

      CREATE TABLE `test` (
        `x` INT COMMENT '�'
      );
      

      comment is one byte 0x92) results in

      ERROR 1629 (HY000) at line 1: Comment for field 'x' is too long (max = 1024)
      

      Attachments

        Issue Links

          Activity

            People

              serg Sergei Golubchik
              serg Sergei Golubchik
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h
                  1h

                  Git Integration

                    Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.