• unknown's avatar
    BUG#26624: high mem usage (crash) in range optimizer · 9639eb3d
    unknown 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.
    
    
    mysql-test/r/range.result:
      BUG#26624: Testcase
    mysql-test/t/range.test:
      BUG#26624: Testcase
    9639eb3d
opt_range.cc 94.3 KB