Commit a5dadbe1 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:4541], make handlerton fix

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@41584 c7de825b-a66e-492c-adef-691d508d4ae1
parent 6220da7f
...@@ -6249,12 +6249,11 @@ static int create_sub_table( ...@@ -6249,12 +6249,11 @@ static int create_sub_table(
goto exit; goto exit;
} }
error = file->change_descriptor(file, txn, row_descriptor, (is_hot_index ? DB_IS_HOT_INDEX : 0)); error = file->change_descriptor(file, txn, row_descriptor, (is_hot_index ? DB_IS_HOT_INDEX | DB_UPDATE_CMP_DESCRIPTOR : DB_UPDATE_CMP_DESCRIPTOR));
if (error) { if (error) {
DBUG_PRINT("error", ("Got error: %d when setting row descriptor for table '%s'", error, table_name)); DBUG_PRINT("error", ("Got error: %d when setting row descriptor for table '%s'", error, table_name));
goto exit; goto exit;
} }
file->update_cmp_descriptor(file);
error = 0; error = 0;
exit: exit:
......
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