• Michael Widenius's avatar
    Fix for Bug #39243 SELECT WHERE does not find row · be0b4042
    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.
    be0b4042
maria.test 57.3 KB