• Sergey Petrunia's avatar
    BUG#36639: subselect.test crashes on 64 bit pentium4 when compiled for valgrind, commit into 5.0 · c770161a
    Sergey Petrunia authored
    - Use the compiler's default copy constructor for QUICK_RANGE_SELECT. 
      bcopy(this, copy, ...) call caused some odd action on gcc-4.1.2 on x86_64
    
    sql/opt_range.cc:
      BUG#36639: subselect.test crashes on 64 bit pentium4 when compiled for valgrind
      - Set QUICK_SELECT_DESC not to use MRR implementation (code moved to here
        from opt_range.h)
    sql/opt_range.h:
      BUG#36639: subselect.test crashes on 64 bit pentium4 when compiled for valgrind
      - Use the compiler's default copy constructor for QUICK_RANGE_SELECT. 
        bcopy(this, copy, ...) call caused some odd action on gcc-4.1.2 on x86_64
    c770161a
opt_range.h 22.7 KB