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

No warning when string system variables fail to convert character sets

    XMLWordPrintable

Details

    • Notable changes

    Description

      SET NAMES utf8mb4;
      SET @mystr= CAST('💩' AS CHAR CHARACTER SET utf8mb3);
      #!> Warning 1977: Cannot convert 'utf8mb4' character 0xF09F92A9 to 'utf8mb3'
      SELECT @mystr; #=> ?
       
      SET @@GLOBAL.init_connect= '💩'; # no warning
      SELECT @@GLOBAL.init_connect, CHARSET(@@GLOBAL.init_connect); #=> ?, utf8mb3
      

      Same for:

      init_slave
      default_master_connection
      debug_dbug
      debug_sync
      

      Attachments

        Issue Links

          Activity

            People

              ParadoxV5 Jimmy Hú
              ParadoxV5 Jimmy Hú
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Time Tracking

                  Estimated:
                  Original Estimate - 0d
                  0d
                  Remaining:
                  Remaining Estimate - 2.5d
                  2.5d
                  Logged:
                  Remaining Estimate - 2.5d
                  5m

                  Git Integration

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