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

Index ingnores trailing spaces

    XMLWordPrintable

Details

    Description

      CREATE TABLE `test` (
      `id` int(11) NOT NULL,
      `txt` varchar(255) NOT NULL
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

      INSERT INTO `test` (`id`, `txt`) VALUES (1, 'test');

      Doing

      INSERT INTO `test` (`id`, `txt`) VALUES (2, 'test ');

      Throws a duplicate index error because the txt value is trimed.

      Attachments

        Issue Links

          Activity

            People

              marko Marko Mäkelä
              gothge Jorg Singendonk
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

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