• Sergei Golubchik's avatar
    MDEV-6849 ON UPDATE CURRENT_TIMESTAMP doesn't always work · 6a2c1701
    Sergei Golubchik authored
    reset default fields not for every modified row, but only once,
    at the beginning, as the set of modified fields doesn't change.
    
    exception: INSERT ... ON DUPLICATE KEY UPDATE - the set of fields
    does change per row and in that case we reset default fields per row.
    6a2c1701
table.cc 210 KB