• unknown's avatar
    MDEV-6139: UPDATE w/ join against MRG_MyISAM table with read-only sub-table... · 968f4d4e
    unknown authored
    MDEV-6139: UPDATE w/ join against MRG_MyISAM table with read-only sub-table failsUPDATE w/ join against MRG_MyISAM table with read-only sub-table fails
    
    The problem was that on opening all tables TL_WRITE, than local tables which is not updated set to TL_READ, but underlying tables of MyISAMmrg left untouched.
    
    Prartition engine has not this problem.
    
    All cases where lock_type assigned is not changed because call of virtual function is not cheap.
    968f4d4e
ha_myisammrg.cc 58 KB