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
commit26e12a11bb7d8e88c07ec1e360c77834819ebc29 (patch)
tree5ce1ea8e85b4b43586ee36fb6f986815a8716739 /sql/sql_cache.cc
parentc0557845a17eb1329ceae25c1fafd4385aa36a6f (diff)
downloadmariadb-git-26e12a11bb7d8e88c07ec1e360c77834819ebc29.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,