Browse Source

addresses #1698

flatten all dictionaries

git-svn-id: file:///svn/mysql/tokudb-engine/src@11426 c7de825b-a66e-492c-adef-691d508d4ae1
pull/73/head
Zardosht Kasheff 13 years ago
committed by Yoni Fogel
parent
commit
b3e7e70b18
  1. 2
      storage/tokudb/ha_tokudb.cc

2
storage/tokudb/ha_tokudb.cc

@ -5380,7 +5380,7 @@ int ha_tokudb::optimize(THD * thd, HA_CHECK_OPT * check_opt) {
//
for (uint i = 0; i < curr_num_DBs; i++) {
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;
goto cleanup;
}

Loading…
Cancel
Save