Commit 95c3cadf authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

addresses #1698

flatten all dictionaries

git-svn-id: file:///svn/mysql/tokudb-engine/src@11426 c7de825b-a66e-492c-adef-691d508d4ae1
parent cde437db
...@@ -5380,7 +5380,7 @@ int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) { ...@@ -5380,7 +5380,7 @@ int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) {
// //
for (uint i = 0; i < curr_num_DBs; i++) { for (uint i = 0; i < curr_num_DBs; i++) {
error = 0; error = 0;
if ((error = share->file->cursor(share->file, txn, &tmp_cursor, 0))) { if ((error = share->key_file[i]->cursor(share->key_file[i], txn, &tmp_cursor, 0))) {
tmp_cursor = NULL; tmp_cursor = NULL;
goto cleanup; goto cleanup;
} }
......
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