diff options
author | Michael Widenius <monty@askmonty.org> | 2011-02-22 15:15:17 +0200 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-02-22 15:15:17 +0200 |
commit | b35743f9877fc826372eeb6dec21665aa3ff32f4 (patch) | |
tree | 4361a08c36980010723e75e1bc79c974139e0d6c /storage/xtradb/dict/dict0load.c | |
parent | 58bb0769bdf13a9747e900aa2f0955137738ce9d (diff) | |
parent | e69b70140b936f59826de9dc79e4bf7f4821d52e (diff) | |
download | mariadb-git-b35743f9877fc826372eeb6dec21665aa3ff32f4.tar.gz |
Merge with xtradb code changes
(4 tests are still failing, so this push is not yet stable)
Diffstat (limited to 'storage/xtradb/dict/dict0load.c')
-rw-r--r-- | storage/xtradb/dict/dict0load.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/xtradb/dict/dict0load.c b/storage/xtradb/dict/dict0load.c index 19de5bf8264..edd77e2530f 100644 --- a/storage/xtradb/dict/dict0load.c +++ b/storage/xtradb/dict/dict0load.c @@ -222,8 +222,9 @@ loop: /* The table definition was corrupt if there is no index */ - if (srv_stats_auto_update && dict_table_get_first_index(table)) { - dict_update_statistics_low(table, TRUE, FALSE); + if (dict_table_get_first_index(table)) { + dict_update_statistics(table, FALSE /* update + even if initialized */, FALSE); } dict_table_print_low(table); |