• Marko Mäkelä's avatar
    MDEV-18084: Crash on UPDATE after upgrade from 10.0 or 10.1 · a77e2668
    Marko Mäkelä authored
    MariaDB Server 10.0 and 10.1 support non-indexed virtual columns,
    which are hidden from the storage engine. Starting with MDEV-5800
    in MariaDB 10.2.2, the virtual columns are visible to storage engines.
    
    calc_row_difference(): Follow up the MDEV-17199 fix, which forgot
    to increment num_v when skipping virtual columns in tables that
    were created before MariaDB 10.2.2. This caused a corruption of
    the update vector when an updated persistent column is preceded
    by virtual columns.
    a77e2668
ha_innodb.cc 637 KB