mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 21:42:35 +01:00
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
This commit is contained in:
parent
83cd8f35a2
commit
6cae66f919
1 changed files with 2 additions and 3 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue