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

            Transition Time In Source Status Execution Times
            Sergei Golubchik made transition -
            Open Confirmed
            381d 1h 50m 1
            Sergei Golubchik made transition -
            Confirmed In Review
            15d 2h 11m 1
            Sergei Golubchik made transition -
            In Review Stalled
            1d 4h 32m 1
            Sergei Golubchik made transition -
            Stalled Closed
            1d 13h 29m 1

            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.