• Georgi Kodinov's avatar
    Bug#37548: result value erronously reported being NULL in certain subqueries · cab267ec
    Georgi Kodinov authored
          
    When switching to indexed ORDER BY we must be sure to reset the index read
    flag if we are switching from a covering index to non-covering.
    
    mysql-test/r/subselect.result:
      Bug#37548: test case
    mysql-test/t/subselect.test:
      Bug#37548: test case
    sql/sql_select.cc:
      Bug#37548: update the index read flag if the index for indexed ORDER BY is not
          covering.
    cab267ec
subselect.test 119 KB