• Thirunarayanan Balathandayuthapani's avatar
    MDEV-19522 InnoDB commit fails when FTS_DOC_ID value is greater than 4294967295 · 8ce8c269
    Thirunarayanan Balathandayuthapani authored
    InnoDB commit fails when consecutive FTS_DOC_ID value
    is greater than 4294967295.
    Fix is that InnoDB should remove the delta FTS_DOC_ID
    value limitations and fts should encode 8 byte value,
    remove FTS_DOC_ID_MAX_STEP variable. Replaced the
    fts0vlc.ic file with fts0vlc.h
    
    fts_encode_int(): Should be able to encode 10 bytes value
    
    fts_get_encoded_len(): Should get the length of the value
    which has 10 bytes
    
    fts_decode_vlc(): Add debug assertion to verify the maximum
    length allowed is 10.
    
    mach_read_uint64_little_endian(): Reads 64 bit stored in
    little endian format
    
    Added a unit test case which check for minimum and maximum
    value to do the fts encoding
    8ce8c269
CMakeLists.txt 1010 Bytes