• Michael Widenius's avatar
    Fix for Bug #39243 SELECT WHERE does not find row · fac3977a
    Michael Widenius authored
    Symptom was that records_in_range() found 0 matching keys which confused the optimizer to belive that there was no matching rows for the query
    
    mysql-test/r/maria.result:
      New testcase
    mysql-test/t/maria.test:
      New testcase
    storage/maria/ma_search.c:
      Fix bug in skip_key for keys that starts with a CHAR/VARCHAR NULL key.
    fac3977a
ma_search.c 70.5 KB