summaryrefslogtreecommitdiff
path: root/sql/sql_statistics.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2014-06-10 22:20:33 +0400
committerSergey Vojtovich <svoj@mariadb.org>2014-06-10 22:20:33 +0400
commit7832f1bb62f8f657f064d6184e4aba4d568a77a6 (patch)
tree7809c95b6650c7dbd814b9736d3bce8176e3af86 /sql/sql_statistics.cc
parent55b010233a2d897ac8bc7aee0f136f2794814455 (diff)
downloadmariadb-git-7832f1bb62f8f657f064d6184e4aba4d568a77a6.tar.gz
MDEV-6314 - Compile/run MariaDB with ASan
Fixed some compilation errors/warnings with ASan.
Diffstat (limited to 'sql/sql_statistics.cc')
-rw-r--r--sql/sql_statistics.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sql_statistics.cc b/sql/sql_statistics.cc
index 67e7a9c304b..7773b648748 100644
--- a/sql/sql_statistics.cc
+++ b/sql/sql_statistics.cc
@@ -1550,6 +1550,7 @@ public:
uint key_parts= table->actual_n_key_parts(key_info);
empty= TRUE;
prefixes= 0;
+ LINT_INIT(calc_state);
is_single_comp_pk= FALSE;
uint pk= table->s->primary_key;