From a24186c280634a2ec3067a4434586b7ced075412 Mon Sep 17 00:00:00 2001 From: "msvensson@neptunus.(none)" <> Date: Mon, 25 Apr 2005 11:08:38 +0200 Subject: [PATCH] valgrind: initialise variable in QUICK_SELECT_I --- sql/opt_range.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sql/opt_range.cc b/sql/opt_range.cc index 2ced24f87bb..96b5cb305f8 100644 --- a/sql/opt_range.cc +++ b/sql/opt_range.cc @@ -713,7 +713,8 @@ SQL_SELECT::~SQL_SELECT() QUICK_SELECT_I::QUICK_SELECT_I() :max_used_key_length(0), - used_key_parts(0) + used_key_parts(0), + records(0) {} QUICK_RANGE_SELECT::QUICK_RANGE_SELECT(THD *thd, TABLE *table, uint key_nr,