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

incorrect Item_func_regex::update_used_tables()

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 5.5.33
    • 5.5.34
    • None
    • None

    Description

      it is

        void update_used_tables()
        {
          Item_bool_func::update_used_tables();
          if (regex_is_const)
            maybe_null= 1;
        }

      should be

        void update_used_tables()
        {
          Item_bool_func::update_used_tables();
          if (!regex_is_const)
            maybe_null= 1;
        }

      Note: test case is needed!

      Attachments

        Activity

          serg Sergei Golubchik created issue -
          serg Sergei Golubchik made changes -
          Field Original Value New Value
          Assignee Sergei Golubchik [ serg ]
          serg Sergei Golubchik made changes -
          Description it is
          {code}
            void update_used_tables()
            {
              Item_bool_func::update_used_tables();
              if (regex_is_const)
                maybe_null= 1;
            }
          {code}
          should be
          {code}
            void update_used_tables()
            {
              Item_bool_func::update_used_tables();
              if (!regex_is_const)
                maybe_null= 1;
            }
          {code}

          Note: test case is needed!
          serg Sergei Golubchik made changes -
          Assignee Sergei Golubchik [ serg ] Oleksandr Byelkin [ sanja ]
          serg Sergei Golubchik made changes -
          Fix Version/s 5.5.34 [ 13700 ]
          Fix Version/s 5.5.33a [ 13500 ]
          sanja Oleksandr Byelkin made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          sanja Oleksandr Byelkin made changes -
          Status Stalled [ 10000 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          sanja Oleksandr Byelkin made changes -
          Status Stalled [ 10000 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          sanja Oleksandr Byelkin made changes -
          Status Stalled [ 10000 ] In Progress [ 3 ]
          sanja Oleksandr Byelkin made changes -
          Status In Progress [ 3 ] Stalled [ 10000 ]
          sanja Oleksandr Byelkin made changes -
          Resolution Fixed [ 1 ]
          Status Stalled [ 10000 ] Closed [ 6 ]
          serg Sergei Golubchik made changes -
          Workflow defaullt [ 29028 ] MariaDB v2 [ 44201 ]
          ratzpo Rasmus Johansson (Inactive) made changes -
          Workflow MariaDB v2 [ 44201 ] MariaDB v3 [ 63484 ]
          serg Sergei Golubchik made changes -
          Workflow MariaDB v3 [ 63484 ] MariaDB v4 [ 147050 ]

          People

            sanja Oleksandr Byelkin
            serg Sergei Golubchik
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.