summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/dict0dict.h
diff options
context:
space:
mode:
authorJan Lindström <jplindst@mariadb.org>2014-07-22 19:31:45 +0300
committerJan Lindström <jplindst@mariadb.org>2014-07-22 19:31:45 +0300
commita1e41e325873bda2071f0d9c5b85778023435c0b (patch)
tree09e0731723aa156b2723fd00a118c19ae4936e43 /storage/xtradb/include/dict0dict.h
parent15a529e12839579360bd81dd1997502259dd2cbd (diff)
downloadmariadb-git-a1e41e325873bda2071f0d9c5b85778023435c0b.tar.gz
MDEV-6470: Restrict number of error messages about persistent statictic tables not found
If mysql.innodb_table_stats or mysql.innodb_index_stats is not found or has unexpected structure output that error only once and no other error for every table trying to use them. If they do exists, then print fetch or recalculation errors only once / table or index.
Diffstat (limited to 'storage/xtradb/include/dict0dict.h')
-rw-r--r--storage/xtradb/include/dict0dict.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/xtradb/include/dict0dict.h b/storage/xtradb/include/dict0dict.h
index 3e3fb9f896c..0a93f0532f5 100644
--- a/storage/xtradb/include/dict0dict.h
+++ b/storage/xtradb/include/dict0dict.h
@@ -43,6 +43,9 @@ Created 1/8/1996 Heikki Tuuri
#include "trx0types.h"
#include "row0types.h"
+extern bool innodb_table_stats_not_found;
+extern bool innodb_index_stats_not_found;
+
#ifndef UNIV_HOTBACKUP
# include "sync0sync.h"
# include "sync0rw.h"