• svoj@may.pils.ru's avatar
    BUG#18036 - update of table joined to self reports table as crashed · 37cdb0fb
    svoj@may.pils.ru authored
    Certain updates of table joined to self results in unexpected
    behavior.
    
    The problem was that record cache was mistakenly enabled for
    self-joined table updates. Normally record cache must be disabled
    for such updates.
    
    Fixed wrong condition in code that determines whether to use
    record cache for self-joined table updates.
    
    Only MyISAM tables were affected.
    37cdb0fb
myisam.test 30.5 KB