• Varun Gupta's avatar
    MDEV-9744: session optimizer_use_condition_selectivity=5 causing SQL Error (1918): · 10f6b700
    Varun Gupta authored
               Encountered illegal value '' when converting to DECIMAL
    
    The issue was that EITS data was allocated but then not read for some reason (one being to avoid a deadlock),
    then the optimizer was using these bzero'ed buffers as EITS statistics.
    This should not be allowed, we should use statistcs for a table only when we have successfully loaded/read
    the stats from the statistical tables.
    10f6b700
statistics.test 22.5 KB