• Vasil Dimov's avatar
    Merge c3400 from mysql-5.1-innodb: · 4ad49cf6
    Vasil Dimov authored
      ------------------------------------------------------------
      revno: 3400
      revision-id: mmakela@bk-internal.mysql.com-20100415070122-1nxji8ym4mao13ao
      parent: vasil.dimov@oracle.com-20100414200413-ktulgshvdp0smxk0
      committer: Marko Makela <mmakela@bk-internal.mysql.com>
      branch nick: mysql-5.1-innodb
      timestamp: Thu 2010-04-15 09:01:22 +0200
      message:
        storage/innodb_plugin: Relax too strict assertions about prefix
        indexed BLOBs for ROW_FORMAT=DYNAMIC and ROW_FORMAT_COMPRESSED tables
        (Bug #52746). In these tables, the locally stored prefix of a BLOB can
        be as small as 20 bytes (BTR_EXTERN_FIELD_REF_SIZE). ROW_FORMAT=REDUNDANT
        and ROW_FORMAT=COMPACT store a prefix of 768 bytes (REC_MAX_INDEX_COL_LEN).
        
        trx_undo_rec_get_col_val(): Relax the ut_ad() assertion and add a
        reference to dtuple_convert_big_rec().
        
        trx_undo_rec_get_partial_row(): Relax the ut_a() assertion that
        prompted Bug #52746.
      modified:
        storage/innodb_plugin/ChangeLog 2425@16c675df-0fcb-4bc9-8058-dcc011a37293:branches%2Fzip%2FChangeLog
        storage/innodb_plugin/trx/trx0rec.c 2@16c675df-0fcb-4bc9-8058-dcc011a37293:trunk%2Ftrx%2Ftrx0rec.c
    4ad49cf6
trx0rec.c 44.8 KB