summaryrefslogtreecommitdiff
path: root/sql/sql_cache.cc
diff options
context:
space:
mode:
authorAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-10-12 14:07:13 +0400
committerAlexander Nozdrin <alexander.nozdrin@oracle.com>2010-10-12 14:07:13 +0400
commitde3d279372527ed028524933817269218e102a21 (patch)
tree5ce1ea8e85b4b43586ee36fb6f986815a8716739 /sql/sql_cache.cc
parent10bc97de5c819eb8f89b98504724251bd854b78d (diff)
downloadmariadb-git-de3d279372527ed028524933817269218e102a21.tar.gz
Fix compilation warnings.
Diffstat (limited to 'sql/sql_cache.cc')
-rw-r--r--sql/sql_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sql_cache.cc b/sql/sql_cache.cc
index 9876c46bbb3..0dadc0f0cd4 100644
--- a/sql/sql_cache.cc
+++ b/sql/sql_cache.cc
@@ -412,7 +412,8 @@ struct Query_cache_wait_state
Query_cache_wait_state(THD *thd, const char *func,
const char *file, unsigned int line)
- : m_thd(thd)
+ : m_thd(thd),
+ m_proc_info(NULL)
{
if (m_thd)
m_proc_info= set_thd_proc_info(m_thd,