• svoj@may.pils.ru's avatar
    BUG#20060 - mysqld option "--flush " doesn't work for update statement · 81b70f97
    svoj@may.pils.ru authored
    Problem described in this bug report affects MyISAM tables only.
    
    Running mysqld --flush instructs mysqld to sync all changes to disk
    after each SQL statement. It worked well for INSERT and DELETE
    statements, but it did sync for UPDATE only in case if there was
    index change (change of colum that has an index). If no updated column
    has an index, data wasn't synced to disk.
    
    This fix makes UPDATE statement to sync data to disk even if there is
    no index change (that is only data change) and mysqld is run with
    --flush option.
    81b70f97
mi_update.c 6.88 KB