• unknown's avatar
    Bug #21180: Subselect with index for both WHERE and ORDER BY produces empty result · ec963a61
    unknown authored
     Reseting subqueries with "quick" access methods was incomplete.
     Partially backported the correct reseting of QUICK_SELECTs from 5.x.
    
    
    mysql-test/r/subselect.result:
      Bug #21180: Subselect with index for both WHERE and ORDER BY produces empty result
       - test case
    mysql-test/t/subselect.test:
      Bug #21180: Subselect with index for both WHERE and ORDER BY produces empty result
       - test case
    sql/opt_range.cc:
      Bug #21180: Subselect with index for both WHERE and ORDER BY produces empty result
       - partially backported the correct reseting of QUICK_SELECTs from 5.x.
    sql/opt_range.h:
      Bug #21180: Subselect with index for both WHERE and ORDER BY produces empty result
       - partially backported the correct reseting of QUICK_SELECTs from 5.x.
    ec963a61
opt_range.cc 89.9 KB