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

incorrect Item_func_regex::update_used_tables()

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.5.33
    • Fix Version/s: 5.5.34
    • Component/s: None
    • Labels:
      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

            People

            • Assignee:
              sanja Oleksandr Byelkin
              Reporter:
              serg Sergei Golubchik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: