[MDEV-5039] incorrect Item_func_regex::update_used_tables() Created: 2013-09-19  Updated: 2013-10-04  Resolved: 2013-10-04

Status: Closed
Project: MariaDB Server
Component/s: None
Affects Version/s: 5.5.33
Fix Version/s: 5.5.34

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Oleksandr Byelkin
Resolution: Fixed Votes: 0
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!


Generated at Thu Feb 08 07:01:11 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.