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

sql_mode can't be set with non-ascii connection charset

Details

    Description

      MariaDB [test]> set sql_mode = 'NO_ENGINE_SUBSTITUTION';
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> set character_set_connection=utf32;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> set sql_mode = 'NO_ENGINE_SUBSTITUTION';
      ERROR 1231 (42000): Variable 'sql_mode' can't be set to the value of 'NO_ENGINE_SUBSTITUTION'
      

      Attachments

        Issue Links

          Activity

            nirbhay_c Nirbhay Choubey (Inactive) created issue -
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Field Original Value New Value

            Same for utf16, utf16le, ucs2.
            I expect it has something to do with the fact that they can't be used as a client character set, but I'll leave it to the character set expert bar to provide a proper explanation (or to confirm it's a bug, if it is).

            elenst Elena Stepanova added a comment - Same for utf16, utf16le, ucs2. I expect it has something to do with the fact that they can't be used as a client character set, but I'll leave it to the character set expert bar to provide a proper explanation (or to confirm it's a bug, if it is).
            elenst Elena Stepanova made changes -
            Affects Version/s 5.5 [ 15800 ]
            Affects Version/s 10.0 [ 16000 ]
            Affects Version/s 10.1 [ 16100 ]
            Affects Version/s 10.2 [ 14601 ]
            Assignee Alexander Barkov [ bar ]
            Labels upstream

            bar Based on our discussion, I have committed a fix for this issue.
            http://lists.askmonty.org/pipermail/commits/2017-January/010405.html
            Can you review it please?

            nirbhay_c Nirbhay Choubey (Inactive) added a comment - bar Based on our discussion, I have committed a fix for this issue. http://lists.askmonty.org/pipermail/commits/2017-January/010405.html Can you review it please?
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Status Confirmed [ 10101 ] In Progress [ 3 ]
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Assignee Alexander Barkov [ bar ] Nirbhay Choubey [ nirbhay_c ]
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Assignee Nirbhay Choubey [ nirbhay_c ] Alexander Barkov [ bar ]
            Status In Progress [ 3 ] In Review [ 10002 ]
            bar Alexander Barkov made changes -
            Assignee Alexander Barkov [ bar ] Nirbhay Choubey [ nirbhay_c ]
            Status In Review [ 10002 ] Stalled [ 10000 ]
            bar Alexander Barkov made changes -
            Status Stalled [ 10000 ] Confirmed [ 10101 ]

            http://lists.askmonty.org/pipermail/commits/2017-January/010414.html is OK to push.
            One small thing: Please move the ucs2 test from ctype_ucs2_def.test to ctype_ucs.test.

            bar Alexander Barkov added a comment - http://lists.askmonty.org/pipermail/commits/2017-January/010414.html is OK to push. One small thing: Please move the ucs2 test from ctype_ucs2_def.test to ctype_ucs.test.
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            Fix Version/s 5.5.55 [ 22311 ]
            Resolution Fixed [ 1 ]
            Status Confirmed [ 10101 ] Closed [ 6 ]
            nirbhay_c Nirbhay Choubey (Inactive) made changes -
            serg Sergei Golubchik made changes -
            Fix Version/s 10.0.29 [ 22312 ]
            Fix Version/s 10.1.21 [ 22113 ]
            Fix Version/s 10.2.4 [ 22116 ]
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 79023 ] MariaDB v4 [ 151456 ]

            People

              nirbhay_c Nirbhay Choubey (Inactive)
              nirbhay_c Nirbhay Choubey (Inactive)
              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.