• marko's avatar
    branches/zip: Return a meaningful error message when refusing to create · fe48c366
    marko authored
    a compressed table in the system tablespace.
    
    db0err.h: Introduce the error code DB_TABLE_ZIP_NO_IBD.  Replace the
    #define directives with an enum, to ease future code merges.  These
    error codes are never written out to files or displayed to the user.
    Thus they need not remain constant.
    
    dict_build_table_def_step(): Return DB_TABLE_ZIP_NO_IBD instead of DB_ERROR.
    
    create_table_def(): Report ER_ILLEGAL_HA_CREATE_OPTION "KEY_BLOCK_SIZE"
    when the table creation fails with DB_TABLE_ZIP_NO_IBD.
    fe48c366
dict0crea.c 37.2 KB