Commit 6cae66f9 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #814

undo bad change, not sure why it is bad, but it is

git-svn-id: file:///svn/mysql/tokudb-engine/src@4941 c7de825b-a66e-492c-adef-691d508d4ae1
parent 83cd8f35
......@@ -1169,9 +1169,6 @@ int ha_tokudb::open(const char *name, int mode, uint test_if_locked) {
share->fixed_length_primary_key = (ref_length == table->key_info[primary_key].key_length);
share->status |= STATUS_PRIMARY_KEY_INIT;
}
else {
init_hidden_prim_key_info();
}
share->ref_length = ref_length;
error = get_status();
......@@ -1188,6 +1185,8 @@ int ha_tokudb::open(const char *name, int mode, uint test_if_locked) {
stats.block_size = 1<<20; // QQQ Tokudb DB block size
share->fixed_length_row = !(table_share->db_create_options & HA_OPTION_PACK_RECORD);
init_hidden_prim_key_info();
info(HA_STATUS_NO_LOCK | HA_STATUS_VARIABLE | HA_STATUS_CONST);
TOKUDB_DBUG_RETURN(0);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment