Commit 034ba2c1 authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2016], check for ENOENT return

git-svn-id: file:///svn/mysql/tokudb-engine/src@14683 c7de825b-a66e-492c-adef-691d508d4ae1
parent f4ef69d8
...@@ -582,6 +582,7 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print, bool ex ...@@ -582,6 +582,7 @@ static bool tokudb_show_data_size(THD * thd, stat_print_fn * stat_print, bool ex
if (error) { goto cleanup; } if (error) { goto cleanup; }
error = curr_db->open(curr_db, 0, name_buff, NULL, DB_BTREE, DB_THREAD, 0); error = curr_db->open(curr_db, 0, name_buff, NULL, DB_BTREE, DB_THREAD, 0);
if (error == ENOENT) { error = 0; continue; }
if (error) { goto cleanup; } if (error) { goto cleanup; }
if (exact) { if (exact) {
......
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