• igor@rurik.mysql.com's avatar
    select.result, select.test: · f888026f
    igor@rurik.mysql.com authored
      Added a test case for bug #5333.
    null_key.result, key_primary.result:
      Made covering index usable for const tables.
    sql_select.cc:
      Made covering index usable for const tables:
      downported the corresponding code from 4.1.
      Simultaneously fixed bug #5333 reported for 4.1.
      The bug was due to the fact that field index in join
      structures was always set to 0 for const tables.
    f888026f
null_key.result 8.14 KB