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

Missing DBUG_RETURN in open_table_uncached()

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 10.0(EOL), 10.1(EOL)
    • 10.0.18, 10.1.5
    • Replication
    • None

    Description

      Easier to describe the fix than the bug:

      diff --git a/sql/sql_base.cc b/sql/sql_base.cc
      index c400598..18199a0 100644
      --- a/sql/sql_base.cc
      +++ b/sql/sql_base.cc
      @@ -5676,7 +5677,7 @@ TABLE *open_table_uncached(THD *thd, handlerton *hton,
           /* Temporary tables are not safe for parallel replication. */
           if (thd->rgi_slave && thd->rgi_slave->is_parallel_exec &&
               thd->wait_for_prior_commit())
      -      return NULL;
      +      DBUG_RETURN(NULL);
         }
       
         /* Create the cache_key for temporary tables */

      Attachments

        Activity

          People

            knielsen Kristian Nielsen
            knielsen Kristian Nielsen
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.