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

DNAMES: main.dyncol test produces mismatches (extra 'set names' calls which are not included into the result file)

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 10.0.0
    • None
    • None

    Description

      1. perl ./mtr main.dyncol

       
      @@ -1339,6 +1339,7 @@
       # test of symbolic names
       #
       # creation test (names)
      +set names utf8;
       select hex(column_create("адын", 1212));
       hex(column_create("адын", 1212))
       040100080008000000D0B0D0B4D18BD0BD7809
      @@ -1357,7 +1358,9 @@
       select hex(column_create("1212", 2, "адын", 1, 3, 3));
       hex(column_create("1212", 2, "адын", 1, 3, 3))
       0403000D000100000004010008080500103331323132D0B0D0B4D18BD0BD060402
      +set names default;
       # fetching column test (names)
      +set names utf8;
       select column_get(column_create("адын", 1212), "адын" as int);
       column_get(column_create("адын", 1212), "адын" as int)
       1212
      @@ -1379,7 +1382,9 @@
       select column_get(column_create("1212", 2, "адын", 1, 3, 3), "4" as int);
       column_get(column_create("1212", 2, "адын", 1, 3, 3), "4" as int)
       NULL
      +set names default;
       # column existance test (names)
      +set names utf8;
       select column_exists(column_create("адын", 1212), "адын");
       column_exists(column_create("адын", 1212), "адын")
       1
      @@ -1404,6 +1409,7 @@
       select column_exists(column_create("1212", 2, "адын", 1, 3, 3), "4");
       column_exists(column_create("1212", 2, "адын", 1, 3, 3), "4")
       0
      +set names default;
       # column changing test (names)
       select hex(column_add(column_create(1, "AAA"), "b", "BBB"));
       hex(column_add(column_create(1, "AAA"), "b", "BBB"))
       
      mysqltest: Result length mismatch

      bzr version-info

      revision-id: elenst@ubuntu11.home-20120813090607-jtuq5p0umts16h5h
      date: 2012-08-13 13:06:07 +0400
      build-date: 2012-08-16 04:30:38 +0400
      revno: 3490

      Attachments

        Issue Links

          Activity

            People

              sanja Oleksandr Byelkin
              elenst Elena Stepanova
              Votes:
              0 Vote for this issue
              Watchers:
              2 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.