• Sergei Petrunia's avatar
    Fix UBSAN failure: sql_select.h:982:7: load of value ... not valid for type bool · e22ddd2c
    Sergei Petrunia authored
    This is 11.0 part of the fix: in 11.0, get_costs_for_tables() calls
    best_access_path() for all possible tables, for each call it saves
    a POSITION object with the access method and "loose_scan_pos"
    POSITION object.
    The latter is saved even if there is no possible LooseScan plan. Saving
    is done by copying POSITION objects which may generate a spurious
    UBSan error.
    e22ddd2c
sql_select.cc 1.05 MB
The source could not be displayed because it is larger than 1 MB. You can load it anyway or download it instead.