• istruewing@stella.local's avatar
    Bug#33756 - query cache with concurrent_insert=0 appears broken · d5390b2d
    istruewing@stella.local authored
    When concurrent inserts were disabled, statements after an INSERT
    were not put into the query cache. This happened because we do not
    save the current data file length at statement start when
    concurrent inserts are disabled. But we checked the always zero
    local length against the real file length anyway.
      
    Fixed by doing the check only if concurrent inserts are not diabled.
    d5390b2d
query_cache.test 38.5 KB