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

in_predicate_conversion_threshold cannot be set in my.cnf

Details

    Description

      Currently testing 10.3.6 but looking at code this is still true in current 10.3.

      Any setting of in_predicate_conversion_threshold in my.cnf is overridden in init_common_variables() with this line:

        global_system_variables.in_subquery_conversion_threshold= IN_SUBQUERY_CONVERSION_THRESHOLD;
      

      Removing this line appears to fix the problem. A default is set in sys_vars.cc anyway I don't think this is needed.

      This affects ColumnStore because we need to set this high.

      As a side note, I couldn't see this variable documented in KB.

      Attachments

        Issue Links

          Activity

            LinuxJedi Andrew Hutchings (Inactive) created issue -
            LinuxJedi Andrew Hutchings (Inactive) made changes -
            Field Original Value New Value
            elenst Elena Stepanova made changes -
            Component/s Variables [ 13903 ]
            Fix Version/s 10.3 [ 22126 ]
            Assignee Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.4 [ 22408 ]
            pslawek83 Slawomir Pryczek made changes -
            serg Sergei Golubchik made changes -
            Priority Major [ 3 ] Critical [ 2 ]
            serg Sergei Golubchik made changes -
            Status Open [ 1 ] Confirmed [ 10101 ]
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            Assignee Sergei Golubchik [ serg ] Igor Babaev [ igor ]
            Status Confirmed [ 10101 ] In Review [ 10002 ]
            serg Sergei Golubchik made changes -
            Assignee Igor Babaev [ igor ] Sergei Golubchik [ serg ]
            serg Sergei Golubchik made changes -
            Status In Review [ 10002 ] Stalled [ 10000 ]
            serg Sergei Golubchik made changes -
            Fix Version/s 10.3.18 [ 23719 ]
            Fix Version/s 10.4.8 [ 23721 ]
            Fix Version/s 10.3 [ 22126 ]
            Fix Version/s 10.4 [ 22408 ]
            Resolution Fixed [ 1 ]
            Status Stalled [ 10000 ] Closed [ 6 ]
            serg Sergei Golubchik made changes -
            serg Sergei Golubchik made changes -
            Workflow MariaDB v3 [ 88682 ] MariaDB v4 [ 154740 ]

            People

              serg Sergei Golubchik
              LinuxJedi Andrew Hutchings (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 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.