• marko's avatar
    branches/zip: Always check for "row too large" when executing SQL to create · b4c28de0
    marko authored
    an index or table.  We have to skip this check when loading table definitions
    from the data dictionary, because we could otherwise refuse to load old
    tables (even uncompressed ones).  This addresses Issue #119.
    
    The first "row too large" check was implemented in MySQL 5.0.3
    to address MySQL Bug #5682.  In the InnoDB Plugin 1.0.2, a more
    accurate check was implemented in innodb_strict_mode.  We now
    make the check unconditional.
    
    dict_create_index_step(): Pass strict=TRUE to dict_index_add_to_cache().
    
    trx_is_strict(), thd_is_strict(): Remove.
    
    innodb-zip.test: Test in innodb_strict_mode=OFF.
    
    innodb_bug36169.test: Ensure that none of the tables can be created.
    
    rb://56 approved by Sunny Bains.
    b4c28de0
ha_prototypes.h 8.18 KB