Browse Source

compile when tokudb row format compression types are not defined

pull/73/head
Rich Prohaska 12 years ago
parent
commit
97f1989efb
  1. 2
      storage/tokudb/ha_tokudb.cc

2
storage/tokudb/ha_tokudb.cc

@ -6614,9 +6614,11 @@ void ha_tokudb::update_create_info(HA_CREATE_INFO* create_info) {
// show create table asks us to update this create_info, this makes it
// so we'll always show what compression type we're using
create_info->row_type = get_row_type();
#if TOKU_INCLUDE_ROW_TYPE_COMPRESSION
if (create_info->row_type == ROW_TYPE_TOKU_ZLIB && THDVAR(ha_thd(), hide_default_row_format) != 0) {
create_info->row_type = ROW_TYPE_DEFAULT;
}
#endif
}
}

Loading…
Cancel
Save