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

Bad column type created for TEXT(1431655798) CHARACTER SET utf8

    Details

      Description

      CREATE OR REPLACE TABLE t1 (a TEXT(1431655798) CHARACTER SET utf8);
      SHOW CREATE TABLE t1;
      

      +-------+-----------------------------------------------------------------------------------------------------------+
      | Table | Create Table                                                                                              |
      +-------+-----------------------------------------------------------------------------------------------------------+
      | t1    | CREATE TABLE `t1` (
        `a` tinytext CHARACTER SET utf8 DEFAULT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=latin1 |
      +-------+-----------------------------------------------------------------------------------------------------------+
      

      Notice, it created a TINYTEXT column.
      The expected type is LONGTEXT.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bar Alexander Barkov
                Reporter:
                bar Alexander Barkov
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: