• unknown's avatar
    Fix and testcase for BUG#4984 · ed0f3856
    unknown authored
     The crash is eliminated but still it is weird/inefficent that ROR-intersection is used when performing updates in empty table.
    
    
    mysql-test/r/index_merge_ror_cpk.result:
      Fix and testcase for BUG#4984
    mysql-test/t/index_merge_ror_cpk.test:
      Fix and testcase for BUG#4984
    sql/opt_range.cc:
      Don't call index_end() for CPK quick select inside of a ROR-intersection.
    sql/opt_range.h:
      Fix and testcase for BUG#4984
    ed0f3856
opt_range.h 17.2 KB