[t:2561] Patch out upgrade status until upgrade logic is merged to main.

git-svn-id: file:///svn/mysql/tokudb-engine/tokudb-engine@20774 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Barry Perlman 2010-05-28 19:01:38 +00:00 committed by Yoni Fogel
parent 6ea928c0bd
commit de101e1ade

View file

@ -1024,6 +1024,8 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
snprintf(buf, bufsiz, "%" PRIu64, engstat.logsuppressfail);
STATPRINT("log suppress fail", buf);
#if 0
// patched out until upgrade logic is in product
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_env_status);
STATPRINT("upgrade env status", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_header);
@ -1032,6 +1034,7 @@ static bool tokudb_show_engine_status(THD * thd, stat_print_fn * stat_print) {
STATPRINT("upgrade nonleaf", buf);
snprintf(buf, bufsiz, "%" PRIu64, engstat.upgrade_leaf);
STATPRINT("upgrade leaf", buf);
#endif
}
if (error) { my_errno = error; }
TOKUDB_DBUG_RETURN(error);