• unknown's avatar
    Bug #21180: Subselect with index for both WHERE and ORDER BY produces empty result · 8462d3a4
    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.
    8462d3a4
subselect.test 78.2 KB