• Aleksey Midenkov's avatar
    MDEV-21471 ER_CRASHED_ON_USAGE upon UPDATE FOR PORTION on Aria table · aa7f2578
    Aleksey Midenkov authored
    Turn read cache off for periodic update.
    
    Like 498a96a4 says:
    
    Aria with row_format=fixed uses IO_CACHE of type READ_CACHE for
    sequential read in update loop. When history row is inserted inside
    this loop the cache misses it and fails with error.
    
    This applicable to any additional row inserts on UPDATE. In this case
    it was initiated by UPDATE FOR PORTION.
    
    Related to MDEV-20441.
    aa7f2578
update.test 6.5 KB