• Vlad Lesin's avatar
    MDEV-25163 Rowid filter does not process storage engine error correctly. · 275f4343
    Vlad Lesin authored
    The fix is to return 3-state value from Range_rowid_filter::build()
    call:
    1. The filter was built successfully;
    2. The filter was not built, but the error was not fatal, i.e. there is
    no need to rollback transaction. For example, if the size of container to
    storevrow ids is not enough;
    3. The filter was not built because of fatal error, for example,
    deadlock or lock wait timeout from storage engine. In this case we
    should stop query plan execution and roll back transaction.
    
    Reviewed by: Sergey Petrunya
    275f4343
sql_select.cc 968 KB