• sergefp@mysql.com's avatar
    BUG#26624: high mem usage (crash) in range optimizer · a8d43972
    sergefp@mysql.com authored
    - Added PARAM::alloced_sel_args where we count the # of SEL_ARGs
      created by SEL_ARG tree cloning operations.
    - Made the range analyzer to shortcut and not do any more cloning 
      if we've already created MAX_SEL_ARGS SEL_ARG objects in cloning.
    - Added comments about space complexity of SEL_ARG-graph 
      representation.
    a8d43972
opt_range.cc 94.3 KB