• Varun Gupta's avatar
    MDEV-19705: Assertion `tmp >= 0' failed in best_access_path · 77e44282
    Varun Gupta authored
    The reason for hitting the assert is that rec_per_key estimates have some garbage value.
    So the solution to fix this would be for long unique keys to use use rec_per_key for only 1 keypart,
    that means rec_per_key[0] would have the estimate.
    77e44282
table.cc 286 KB