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

Unable to unset a flag from sql_mode set to oracle

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • 10.3.11
    • N/A
    • Variables
    • None

    Description

      Unable to unset a flag from sql_mode set to oracle

      MariaDB [(none)]> SET session sql_mode = 'ORACLE';
      Query OK, 0 rows affected (0.000 sec)
       
      MariaDB [(none)]>  SELECT @@SQL_MODE;
      +----------------------------------------------------------------------------------------------------------------------------------------------+
      | @@SQL_MODE                                                                                                                                   |
      +----------------------------------------------------------------------------------------------------------------------------------------------+
      | PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ORACLE,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_FIELD_OPTIONS,NO_AUTO_CREATE_USER,SIMULTANEOUS_ASSIGNMENT |
      +----------------------------------------------------------------------------------------------------------------------------------------------+
      1 row in set (0.000 sec)
       
      
      

      MariaDB [(none)]> SET session sql_mode=(SELECT REPLACE(@@sql_mode,'ANSI_QUOTES',''));
      Query OK, 0 rows affected (0.000 sec)
       
      MariaDB [(none)]>  SELECT @@SQL_MODE;
      +----------------------------------------------------------------------------------------------------------------------------------------------+
      | @@SQL_MODE                                                                                                                                   |
      +----------------------------------------------------------------------------------------------------------------------------------------------+
      | PIPES_AS_CONCAT,ANSI_QUOTES,IGNORE_SPACE,ORACLE,NO_KEY_OPTIONS,NO_TABLE_OPTIONS,NO_FIELD_OPTIONS,NO_AUTO_CREATE_USER,SIMULTANEOUS_ASSIGNMENT |
      +----------------------------------------------------------------------------------------------------------------------------------------------+
      1 row in set (0.000 sec)
       
      
      

      Attachments

        Activity

          People

            bar Alexander Barkov
            winstone Zdravelina Sokolovska (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.